Hello, is there a way to take ownership of an list of elements before running a script, actually inside the script?
the problem is sometimes scripts take a long time to run. maybe 1hr+ but then at the very end, when it tries to populated some data into the revit elements, Revit will say, so and so, owns the element, or the elements are not currently editable, or whatever other error messages. Because someone else probably has ownership of some of the elements you are trying to modify with your script and stops the script from finishing, dead in its tracks.
However, if you go in to revit, select all of those elements that you want to run the script on and set them to “Make elements editable” or “make workset editable” beforehand, you wont get those error messages above, which can stop the script in its tracks. My question is are these features available in dynamo somewhere? is there a node for them? I would like the script to make elements editable before trying to write to them. Please advise thanks!