Revit 2026 APIDirectShapeRemoveAllReferenceObjects Method Removes all reference objects (if any) from the DirectShape. Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.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