RVTDocs.com
Namespace: Autodesk.Revit.DB Class: DirectShape

DirectShape.RemoveReferenceObject(String)

Method
Description:
Removes any reference objects with the given name from the DirectShape. Nothing is done if no reference objects have the given name or if the name is the empty string.
Syntax
public void RemoveReferenceObject(
	string refName
)
Parameters
Parameter Type Description
refName String The name of the reference object(s) to be removed.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null