GetExternallyTaggedReference Method


Direct Shape Type Get Externally Tagged Reference Method

Retrieve a Reference to reference geometry of the DirectShapeType that is associated with a particular ExternalGeometryId.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Reference GetExternallyTaggedReference(
	ExternalGeometryId externalId
)

Parameters

externalId ExternalGeometryId
The ExternalGeometryId of the requested reference object.

Return Value

Reference
A Reference to the externally tagged reference GeometryObject having the provided external ID or if there is no reference geometry having the external ID.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
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 →