RVTDocs.com

DirectShapeType.RemoveReferenceObject(ExternalGeometryId)

Method
Description:
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.
Syntax
public void RemoveReferenceObject(
	ExternalGeometryId externalId
)
Parameters
Parameter Type Description
externalId ExternalGeometryId The ExternalGeometryId of the reference object to be removed.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null