Documentation on GH Linear Dimension Component

I am trying to change the units for a simple Display/Linear Dimension component to show feet-inches instead of the decimal inches. It looks like it defaults to "{0: 0.00}”, but I can’t find any documentation on the Text input. The help isn’t very helpful:

Neither is Grasshopper Docs:

Are these formatting strings documented anywhere?

Hi Brett,

Is this the latest Rhino? If so please use the other Linear Dimension component that accepts a style from your rhino document.

These were introduced in Rhino 8 Rhino 8 Feature: Annotations and Hatches in GH1

Thanks for responding Japhy. To answer your question, I’m on Rhino 8 version 8 SR27. I did find that post before making this one, but when I download and open the .3dm and .gh, I only see a rectangle and everything in the .GH file seems to be broken:

Since that wasn’t working, I made this post.

Hi Brett -

If your Rhino file is created from a template in feet and inches, the following Grasshopper definition will show a dimension in feet and inches.
Linear Dim ft-in.gh (5.5 KB)
-wim

Thanks for the help. I think I got to the functionality I wanted. To hopefully help future people to setup and quickly modify dimensions in Grasshopper, I used the following:

  1. Params/Rhino/Model Annotation Style. This component has the Annotation Styles stored in it from the active Rhino model. If you’re starting with a Rhino template, these will get you most of the way there. Right click on the component and you can pick from one of the ones in your Rhino file under Set Annotation Style.
  2. Use the Rhino/Annotations/Linear Dimension component and populate with needed inputs. I needed Base Line, Point A, Point B. This will generate a dimension, but might not be the settings you picked in 1.
  3. Plug these into the Rhino/Annotation Style Overrides component. You should have the correct settings.
  4. From here, it looks like you can change all the settings using the Settings components under Rhino/Annotations. My .gh file only changes the height. Looks like if you use something like Foot-Inch Architectural, the size switches to Feet so adjust as needed.

Some additional documentation or examples on all of these settings would still be really helpful because it looks like I’m just scratching the surface.

Linear Dim ft-in.gh (11.3 KB)