Good morning. I am new to Dynamo and jumping in head first. I have created a few simple working scripts. Here is a little backstory. An Architect we are working with created these Generic Model Unit Cubes in each unit and added the unit information to them INSTEAD of creating Room Definitions and this is what they want us to use to signify their units.
At one point they created room definitions but recently removed them again after we went through and tagged their units. I now have to go back and retag all these cubes on 28+ different views. Tag All in view isn’t working, even with the link underlay unchecked so I decided to try to use dynamo.
The script sees all Generic Models with the type called STANDARD but I get more than the Unit Cubes. The family name is called 00-Unit Info but I couldn’t figure out how to filter to that. However, the script does not tag any of the cubes in any of the views when ran. I tried taking some of the nodes from a tag all rooms script I have for the currently active level but that didn’t work either.
I get this info at the Create Annotation Tag node: Traceback (most recent call last): File “” line 130, in AtrributeError: ‘Document’ object has no attribute ‘NewTag’
@Mark.Ackerley I think that is the thread I was using to base my script on but I guess I missed the solution as it didn’t seem like it had been answered at the end with someone else having the same issue. I will reread through and see if I get something out of it.
The room tag script I wrote works on the active view but not all views. I took some of that script and applied to this one but I still couldn’t get it to work.
Forgive my Dynamo naiveness so instead of current active view, I just tell it to look for Level 1 and it finds all the subsequent views or just the views based on Level 1? Either way, the task is done but good to know for something else next time. Thank you @Alban_de_Chasteigner