Annotation units change

Hello!

Is there a possibility to change the units of annotations?

For example, I have an a project in millimeters, but want an annotation to display in meters (and also would be nice, to have precision of 0.01, different from project precision of 1).

Hi @Kida yes, this is possible already if you edit the Grasshopper definition that generates this annotation. I’ve developed it a bit further and included a new parameter to control that. Find below the updated version of the Elevation mark.

elevation mark with units conversor.val (60.0 KB)

Run the vaStylesImport command to import it.

Okay, that’s works wonderfull

Thank you!

I think I need to dive deeper into creating annotation styles from Grasshopper, if such possibilities exist.

Would it be a problem if you shared how you added a custom parameter to the annotation style?

Because I can’t imagine how to do it with existing components :sweat_smile:

Hi @Kida In order to add more parameters to the Annotation style created from a Grasshopper Style you need to edit the original Grasshopper definition. The “Annotation” object components in Grasshopper can be used to reference annotation objects, or create new ones. I share the Grasshopper script used for this Elevation mark that includes the unit converter, just in case you need to modify it.

Elevation Mark VA3 with Units Conversor.gh (26.2 KB)