I’m trying to place tags within Rhino Inside using AddComponent and it semms ok but the tag isn’t reading the Mark of my object.
When I place the tag manually it works fine. Do you have any idea of what is happening?
Thank you
In this image the left tag has been placed using the script and the other by me manually.
Hi,
I would like to assign room tags to Revit rooms using your Python script which worked perfectly for wall, window tags. But for rooms I need to put the tags in the centre of the rooms like Revit do this. Please look at the printscreen.
I’ve also tried to use Add Component (Location) but all parameters define in tags are missed.
Thank you for your help and time. I’ve tested your solution but in my case the scripts didn’t work.
The first solution using Room Location gave me error: 1. ‘Room’ object has no attribute ‘Centroid’
The second solution based on Room Center have placed tags not at the center of the rooms. I have also noticed that working Room Center Python script depends on the file units (please see below printscreen_first in meters, second in centimeters, in millimeters tags are far away from main model).
Is it any way to delete old tags (window, doors) when you change the type of the tag (not double it) when it is python-script?Something similiar to tracking in regular RiR components.
Thank You but I would like to remove only those elements that were created using the python script, not all contained in the drawing.Especially the problem is with Python Text Script.
AnnaAN, Scripted Tracking isn’t available yet, that will be a feature in Rhino.Inside.Revit 2.0 API
In your definition above you are collecting all Windows in the project but only applying the tag per View. Its creating tags for each window, where the the non-visible ones are out there somewhere.
What is different about the ones created in the Python Script?
We can do pseudo tracking a few different ways, each has benefits and pitfalls.
Store a value as a parameter in Revit.
Store a value in the GH document (which looks like you started doing)
Hold a collection of IDs in the Python Script.
Hi @Japhy, thank you for sharing this information. By any chance have you worked on a similar code but for keynotes instead of tags? It would be very helpful.
Thank you,
I have just tried to follow the above to tag structural columns in a number of sections and it doesnt seem to work. What do I need to alter to tag all the structural columns within multiple revit sections?