Grasshopper

algorithmic modeling for Rhino

Is there a way to change the plane radius dynamically? It would be great to be able to change the size of the preview planes from the canvas instead of the view menu.

Not sure what the interface would be like - It could be a special parameter or something. Or maybe a sort of "custom preview"-esque thing that you could plug the plane(s) into that would adjust preview radii.

thanks,

-Brian

Views: 630

Replies to This Discussion

You mean change the preview for ALL planes, or only for specific planes?

If the former, then it's easy enough. A single line of code in a VB script component will do the trick.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

that's perfect, thanks David.

Ahhh gutted,

trying that but I get this error.

1. Error (BC30451): 'GH_CentralisedSettings' is not declared. It may be inaccessible due to its protection level. (line 82)

any ideas?

line 81 and 82 read

  Private Sub RunScript(ByVal radius As Double)
    GH_CentralisedSettings.ViewportPlaneRadius = radius

Is there something else I should be doing?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service