If you are using python within your script, have you looked at the revit api’s “dispose” calls to remove elements from memory after you have done what you require?
If you are using python within your script, have you looked at the revit api’s “dispose” calls to remove elements from memory after you have done what you require?