Grasshopper

algorithmic modeling for Rhino

Hello,

The recent GrasshopperSDK.chm has some nice additions to the Examples section.  Is there an example of how to implement an Input or Output Manager to a component?  I've run into a few scenarios recently where this might be useful.

Thanks,

Luis

Views: 343

Replies to This Discussion

Hi Luis,

 

nope. It's a pretty horrific UI and I'll probably rewrite this SDK section from scratch soon. Though I suspect I'll keep the old method around since there's no downside.

 

You'll need to implement the Grasshopper.Kernel.IGH_VarParamComponent interface in your component and the UI will appear.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David,

Thanks for the tip.  I was able to implement the VarParam interface.  I suppose the key things to take into consideration (from the looks of the added methods) is whether its input or output, what happens when a parameter is added, and the naming/attributes of the new parameter.  If updating this part of the SDK is not high priority, I might keep hammering away on it and see if I can't achieve the functionality.

Thanks

luis

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service