Hi there,
I want to add room number to walls within the boundaries of the room as identity data automatically. I created Shared Parametre named Room Number and assigned to the walls. Generally, I create some wall types to use as plaster, ceramic, wood finishing to put inside of the walls that surround the room like in the image below. Issues about the wall finishings are fixed by this way. And now, room numbers have to be written to its wall elements automatically.
I have looked at a node for this but I can’t find.
Thanks a lot for your times.
Yna_Db
November 28, 2017, 11:27am
2
This will help you to get started with the walls selection:
I got it from another way… much better!
[image]
But, pay attention, when you work with parts, there is a “cheating”.
if you check EXCLUDED (see red arrow), another ghost part is created.
So, I got another nodes to leave only REAL PARTS in the lists.
ROOM AND PARTS.dyn -> listing all parts
ROOM AND REAL PARTS.dyn -> filtering somethings and filtering ghost parts
[image]
Room and Parts.dyn (15.8 KB)
Room and Real Parts.dyn (32.7 KB)
Getting and setting parameters can be done like so:
You can start by trying to get and set parameters and see what happens:
See also Element.SetParameterByNameTypeOrInstance and Element.GetParameterValueByNameTypeOrInstance nodes from Rhythm package, as well as what’s exposed in the Dictionary if needed.
In my case, i used with PARTS, but, i think you can use to WALL.
1 Like
tks u so much, after a week i finally found you
Hi Guys! I know it’s an older post but I tried the script to add room numbers to intersecting parts and not working - cloud you help me why ?
I got this error message -
could you help me out ? because somehow it’s not working and I cant figure out why - I am usin Revit 2022 and dynamo version 2.10.1.3976
thank you
Ivo