Document.GetUnusedElements
Description:
Returns the list of element ids that are not used and can be deleted from the document.
Returns the list of element ids that are not used and can be deleted from the document.
Remarks:
This method returns unused element ids that are available in the Purge Unused window in the Revit. To get unused elements that do not have a category assigned add INVALID to the collection of categories. If the input categories collection is empty, the method returns all unused elements in the document.
This method returns unused element ids that are available in the Purge Unused window in the Revit. To get unused elements that do not have a category assigned add INVALID to the collection of categories. If the input categories collection is empty, the method returns all unused elements in the document.
-
A non-optional argument was null
No comments yet. Start the discussion.
Loading…