IGH_VarParamComponent

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

Properties

IsInputVariable

#
bool IsInputVariable { get; }
Gets a flag specifying whether or not the input can potentially contain variable parameters.
Return TRUE to enable variable parameter UI on the input side.

IsOutputVariable

#
bool IsOutputVariable { get; }
Gets a flag specifying whether or not the output can potentially contain variable parameters.
Return TRUE to enable variable parameter UI on the output side.

Methods

ConstructVariable

#
IGH_Param ConstructVariable(GH_VarParamEventArgs e)
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.
e (GH_VarParamEventArgs)

IsVariableParam

#
bool IsVariableParam(GH_VarParamEventArgs e)
Returns a value indicating whether a specific parameter is considered to be variable.
e (GH_VarParamEventArgs)

ManagerConstructed

#
void ManagerConstructed(GH_VarParamSide side, GH_VariableParameterManager manager)
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.
side (GH_VarParamSide)
manager (GH_VariableParameterManager)

ParametersModified

#
void ParametersModified(GH_VarParamSide side)
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.
side (GH_VarParamSide)