Click or drag to resize

IGH_VariableParameterComponentCanInsertParameter Method

This function will get called before an attempt is made to insert a parameter. Since this method is potentially called on Canvas redraws, it must be fast.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
bool CanInsertParameter(
	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: Boolean
Return True if your component supports a variable parameter at the given location.
See Also