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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →