There has been lots of previous discussion about element binding, that is, when Dynamo deletes/modifies previously created elements. I understand this info is stored in the Dynamo file, not the Revit file (which is actually different to how Dynamo works with other Autodesk products). But I’m wondering if there is a way to reference into Dynamo, elements that have been previously created by Dynamo.
The scenario is, I’m creating annotations - dimensions, tags, etc. I want to be able to delete all previously created elements before re-running the script as some of the creation methods use Python and the element is non-binding (that is, they get duplicated). Originally I though I could use a shared parameter as an identified but shared parameters only works on model elements, not annotations. I also can’t use a detailed group as some of the items are dimensions.
Any ideas if this is possible?