I would like to create a dynamo script that allows to move elements from the main model to a design option AND get the new elements IDs. I tried to use the PostableCommand.AddToSet node (python code) but it doesn’t give me the new IDs of the elements moved.
In Revit, when you move an element from the main model to a Design Option, it copies the item and gives it a new Id, which is blocking me for what i want to do later.
My goal is therefore to get the new element Ids and replace them with the old ones, so that the same element in the main model and the design option will have the same Id. Therefore, i would be able to compare both items.
Can you maybe help with this script ?