I made a little graph to tag elements in view which filters down the elements… The default Revit does every element of a category.
The only problem with the graph is that if i want to tag something else, the previously created tags are deleted.
I presume this is because the tags are still Dynamo owned and I need them to be Revit owned? The Tag node is OOTB so i can’t see what’s going on in there, I tried making a Python to convert it but got an error…
Any suggestions gratefully received!
TagCurrentView.dyn (42.6 KB)
import clr # Import ToDSType(bool) extension method clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) tag = UnwrapElement(IN) OUT = [tag.ToDSType(True), #Not created in script, mark as Revit-owned