Retrieves the GUID representing this element in DWF and IFC export.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static Guid GetExportId(
Document document,
ElementId elementId
)
Parameters
- document Document
-
The document.
- elementId ElementId
-
The id of the element.
Return Value
Guid
The value of the GUID representing the element in the export context.
Exceptions
Remarks
This id is used in the contents of DWF export and IFC export and it should be used
only when cross-referencing to the contents of these export formats.
When storing Ids that will need to be mapped back to elements in future sessions,
UniqueId must be used.
See Also
Reference