Grasshopper

algorithmic modeling for Rhino

Hi All,

the SDK documentation was just updated, so get your up-to-date docs via the Help menu today.

As of 0.9.0009 the methods that add input and output parameters to components have changed. All the old methods are still there but they have been hidden from AutoComplete and have been marked as Obsolete.

Now, instead of Register_XXXXParam() you need to use AddXXXXParameter(). 

The new methods all return an integer indicating the index of the created parameter, they have more consistent overloads and they all require access arguments, even the item parameters. This was done to enforce correct setting of parameter access, before it was easy to forget to assign it since there was an overload without such an access argument.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Views: 1144

Replies to This Discussion

Thank you.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service