RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ExportUtils

ExportUtils.GetExportId(Subelement)

Method
Description:
Retrieves the GUID representing the subelement in DWF and IFC export.
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 subelements in future sessions, UniqueId must be used.
Syntax
public static Guid GetExportId(
	Subelement subelement
)
Parameters
Parameter Type Description
subelement Subelement The subelement.
Return Value
Type Description
Guid The value of the GUID representing the subelement in the export context.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null