Grasshopper

algorithmic modeling for Rhino

Decimal Place in Panel component and Rhino Display Text

Hi,

Two questions as below:

1) I am trying to reduce the decimal place in the result of GH 'panel' component display (Please see the screen shot). Can someone please tell me how this can be achieved in Grasshopper.

2) I have used a 'line dimension' component to display dimension in Rhino viewport, however it displays everything in the 'panel' component to Rhino. Is there any way of telling GH to only display the number and the dimension unit from the panel component?

Please see attached screenshot to demonstrate the above two question. Hope someone can assist.

Thanks

Farjad

Views: 1313

Attachments:

Replies to This Discussion

Hi.

The following methods can be used as formatting masks for text input.

Attachments:

Hi,

That's very helpful thanks! I have modified it a little bit, I have changed the panel input to '{0:0.000}mm' so it gives me the dimension in Rhino viewport. 

Would you know how to change the decimal places in the panel output? (as per my question 1 in my initial post)

Thanks

File-->Preferences-->Display-->D-Decimals

That doesn't seem to work. I even tried recomputing the whole GH document. 

Regards

Farjad

You want someting like this?

Hi YES, exactly that.

Thanks!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service