Hello Everyone
I am trying to model a face-based signage board that goes on doors or walls. It consists of a rectangular extrusion on which I have placed a 3d model text which will be controlled through an instance parameter. Coming to my doubt, I want that model text to change to the room name when placed on the door of that particular room. I tried using "Room Calculation Point" but I am not able to extract the room information from it, nor am I able to find any parameter which can achieve my intent.
Kindly help me or suggest any other ways through which it can be achieved.
Thank you. ![]()
Gelöst! Gehe zur Lösung
Gelöst von Yien_Chao. Gehe zur Lösung
i see.. i think the error is just the room calculation point. the one you shared is outside the room.
here another one with ajusted point.
Thanks for the help but I think you didn't understand my problem.
I want the model text on the board to change automatically. It should change to the room name on which it is placed. eg. if i place the family on the door or wall of "Room-A" the text on the board should change to Room-A, if i place it on the door or wall of an another room say "Room-B" the text on the board should change to Room-B, it needs to be an instance parameter so that every time i place the board on different room the text should change to the name of that particular room. so i somehow want to extract the room name from the room tag using some means and apply it to the text on the signage board.
Thank you
Ok i see.
You will need a Dynamo for that, but i wouldn't work with you previous family because the room calculation point was outside room when placed on a door.
So try a dynamo with corrected family. If you need help, feel free to ask here.
Well start something first in Dynamo.
Try to get the parameter's value by name you are looking for and set to another parameter.
ok, that was easy actually, but I didn't find how using only Dynamo.
here the simple Dynamo and a little bit of Python.
So the sign have the TEXT parameter with the room's number.
wow! Thanks for taking your time and helping. Honestly, I don't know python
I can understand the dynamo part of using the nodes but not the python programming part. Anyways i will give it a try !
Also, how do I implement it? Do I have to just place the boards on all the rooms? or is there any method?
Can you share your script? and how do I use the room name instead of the room number?
hi
just change the .ROOM_NUMBER for .ROOM_NAME in the code.
all built in parameters is also listed here : https://www.revitapidocs.com/2022/fb011c91-be7e-f737-28c7-3f1e1917a0e0.htm
of course you would need to place your family on the right doors, then execute the script.
you have everything needed to make it work. I wont comment any further.
Best
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.