Revit 2026 API
Direct |
Checks if the externally tagged reference is already present in this DirectShape.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool HasExternallyTaggedReference( ExternalGeometryId externalId )
Public Function HasExternallyTaggedReference ( externalId As ExternalGeometryId ) As Boolean
public: bool HasExternallyTaggedReference( ExternalGeometryId^ externalId )
member HasExternallyTaggedReference : externalId : ExternalGeometryId -> bool
Parameters
- externalId ExternalGeometryId
- The external ID of the tagged reference to check for.
Return Value
BooleanTrue if the DirectShape holds a reference with the specified ExternalGeometryId.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also