Grasshopper

algorithmic modeling for Rhino

I'm working on a python script, and I'm changing the input and output names; I'd like to change the description that GH shows when the user puts the mouse over the input/output name; eg The input nickname is Viewport, I'd like that when the mouse is placed over the nickname in the output, GH shows something like: "String: Name of the viewport to affect"; something similar to what you can do with cluster inputs and outputs, any idea?

Views: 2800

Replies to This Discussion

You can use docstring to add them to the component, or set them from `ghenv` variable.

Attachments:

Thanks a lot!

Is there documentation on Components.Params? or on ghenv itself?

I'd love to know what I can change within the ghpython component. But I couldn't find it. 

Thanks for the example btw 

You can download the Grasshopper SDK from Help > Download SDK Help...

So I found this. It doesn't go deeper than Components.Params

Am I looking at the wrong thing?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service