algorithmic modeling for Rhino
For the section on Custom Attributes for the SDK C# tutorials - I was wondering if there is a need for the methods such as RegisterInputParameters() or RegisterOutputParameters(), or are the code snippets there inside a class all there needs?
Thanks.
I have some issues with this because the "Me" variable used in the MySimpleIntegerParameterAttributes(Me) was never declared anywhere in this tutorial.
Tags:
Me in Visual Basic refers to the class you're currently in. If you derive from another class, then MyBase refers to that class. in C# these two keywords are this and base respectively.
The example shows how to assign custom attributes to a parameter. Parameters do not have RegisterInputParams methods, that is for components only.
--
David Rutten
david@mcneel.com
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by