ImportedInstanceId Property


File Imported Event Args Imported Instance Id Property

The ElementId of the imported instance that represents the imported object(s) after a successful import. It could be used for further manipulation of that instance.

Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ElementId ImportedInstanceId { get; }

Property Value

ElementId
Remarks
The value could be InvalidElementId for some type of import formats, such as GBXML and Inventor files.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →