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)
Syntax
IGH_Param CreateParameter(
	GH_ParameterSide side,
	int index
)

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_Param
A valid IGH_Param instance to be inserted.
See Also