Click or drag to resize

IGH_VarParamComponent Interface

This interface is obsolete, please use the IGH_VariableParameterComponent interface instead.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public interface IGH_VarParamComponent

The IGH_VarParamComponent type exposes the following members.

Properties
  NameDescription
Public propertyIsInputVariable
Gets a flag specifying whether or not the input can potentially contain variable parameters.
Public propertyIsOutputVariable
Gets a flag specifying whether or not the output can potentially contain variable parameters.
Top
Methods
  NameDescription
Public methodConstructVariable
This function is called whenever a new parameter is required. You must provide a non-null instance for new_param, otherwise the addition will be cancelled. The Param field of the event arguments will typically be null.
Public methodIsVariableParam
Returns a value indicating whether a specific parameter is considered to be variable.
Public methodManagerConstructed
This function is called whenever a new manager is constructed. You can override this function if you wish to modify the default behaviour of the manager.
Public methodParametersModified
This function will be called wheneven the param collection of a component has been altered through the ParamManager. If your parameters have a peculiar naming scheme, this is the best place to assign those.
Top
See Also