Click or drag to resize

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


Type: Grasshopper.KernelGH_ParameterSide
Parameter side.
Type: SystemInt32
Insertion index of parameter. Index=0 means the parameter will be in the topmost spot.

Return Value

Type: IGH_Param
A valid IGH_Param instance to be inserted.
See Also