Removes any reference object associated with the provided ExternalGeometryId from the DirectShapeType.
Nothing is done if no reference object has the given external ID or if the external ID is an empty string.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void RemoveReferenceObject( ExternalGeometryId externalId )
Parameters
- externalId ExternalGeometryId
- The ExternalGeometryId of the reference object to be removed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |