3D Room Tags with Room Data

Greetings,

I’m reaching out in hopes of finding some answers to a little conundrum I’m currently grappling with. I’m not super experienced with Dynamo yet, but I’m doing my best to figure things out.

I’ve been following an online tutorial for a method to place a Model Text family on top of Room Objects, displaying the relevant Room Data for each room. I feel pretty confident that I’ve followed the tutorial correctly and set up the script as intended. However, I suspect there have been some changes to how the text is edited in the Model Text parameter since the tutorial was created.

You can see an image of the script below. What I believe is causing the issue is that editing the text in the Model Text family seems to require clicking the small button with the three dots and I’m pretty sure that isn’t possible within the current script.

I’m confident it’s just a small tweak or maybe a node or two away from working. Any guidance you could offer would be hugely appreciated! Thanks in advance.

The code block in which you wrote name isn’t providing any data into the Element.SetParameterValueByName.

What you want is a string for the parameter name, which in a code block would be ”Name”; (include the quotes. Alternatively you can use a string node.

A huge thank you to you, sir! That solved it! I’ll attach the working code below in case it helps anyone in the future.

2 Likes