Gets the externally tagged geometry by its external ID that is stored in this DirectShape.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ExternallyTaggedGeometryObject GetExternallyTaggedGeometry( ExternalGeometryId externalId )
Parameters
- externalId ExternalGeometryId
- The external ID of the externally tagged geometry that should be obtained.
Return Value
ExternallyTaggedGeometryObjectThe externally tagged geometry. Or nullptr if there is no such externally tagged geometry in the DirectShape.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |