Text matching the value of a dimension through text fields

Hello everyone,

I was wondering if it was possible to create a text field which would automatically display the value of a dimension for a title block layout. And have it update if the dimension changes.

Additionally, is it possible to ‘link’ two text fields together as to display the same information? So that changing the contents of one would automatically update the other?

Thanks!

This feature does not exist for text fields, but is on our wishlist at https://mcneel.myjetbrains.com/youtrack/issue/RH-49774

I’m not sure I follow what you are requesting here. You could have two text fields that both have the same function and would therefore result in the same content when things change to make the function resolve to a new value.

Makes perfect sense. Thank you.

Lets hope this feature gets implemented soon!

This feature will not be implemented for Rhino 7. We might be able to do this for Rhino 8, but it will take quite a bit of effort as there are a lot of corner cases to deal with.

1 Like

Would this be possible in some way? My title block has multiple fields displaying the same information in different formats. It would make it so much easier if I could simply modify one field and have the other automatically update. I guess I could use UserText fields for this but is there an alternative manner?

EDIT

Forgot to mention that this value may change between different layouts in the same file, therefore I would need to create UserText fields for each layout every time. It would be much easier if I could do this via normal text field commands.

Not sure if this helps, but the work around I am using is to create a line attached to the end points of the dimension. Then I linked the line to the Curve Length attribute in the text fields for the Document User Text. It’s an extra step to keep linking the line to the endpoints of the dimension (maybe history can help?), but it does update the value. I use this for drawing so I set the reference line used to get the length to a “no print” layer.
Text Field Dimension

Follow up… if you have a table of values and you want to report an offset of the Curve Length (i.e. tolerance offset) then you must use the Curve Length Object ID. Using the float(“DocumentUserText”) method won’t work for an equation thtat references the number generated from the Curve Length.


(see attached image).