Grasshopper API
IGH_VariableParameterComponentCreateParameter Method |
This function will be called when a new parameter is about to be inserted.
You must provide a valid parameter or insertion will be skipped.
You do not, repeat not, need to insert the parameter yourself.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

IGH_Param CreateParameter( GH_ParameterSide side, int index )
Function CreateParameter ( side As GH_ParameterSide, index As Integer ) As IGH_Param
Parameters
- side
- Type: Grasshopper.KernelGH_ParameterSide
Parameter side. - index
- Type: SystemInt32
Insertion index of parameter. Index=0 means the parameter will be in the topmost spot.
Return Value
Type: IGH_ParamA valid IGH_Param instance to be inserted.
