Revit 2025 APIDirectShapeRemoveAllReferenceObjects Method Removes all reference objects (if any) from the DirectShape. Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)SyntaxC#VBC++F#public void RemoveAllReferenceObjects()Public Sub RemoveAllReferenceObjectspublic: void RemoveAllReferenceObjects()member RemoveAllReferenceObjects : unit -> unit See AlsoReferenceDirectShape ClassAutodesk.Revit.DB NamespaceSend comments on this topic to Autodesk