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?
In this image the left tag has been placed using the script and the other by me manually.
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).