Round off line dimension tag, and change colour

Hi,

Question,

There is a list with lines.
I would like to make ‘dimension arrow tag’.
This is possible by using the ‘Line dimension’ component.

however,
when I do this, the output values contain 2 digitis behind the .
The I would like to delete
as is --> wanted result
100.00 --> 100
150.00 --> 150
etc

Furthermore, woudl is be possbile to change th colour of this tag?
Thanks again :slight_smile:

2020-11-30 line dimension round off.gh (6.1 KB)

image

Ruud, you would have to change the T input from {0:0.00} to {0:0}

The color is your Grasshopper preview color so I don’t think there’s a way to have a specific color just for the LineDim.

Due to that limitation, I tend to use Elefront Linear Dimensions a lot.

2020-11-30 line dimension round off.gh (15.1 KB)

1 Like