Grasshopper API
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 )
Function CanInsertParameter ( side As GH_ParameterSide, index As Integer ) As Boolean
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: BooleanReturn True if your component supports a variable parameter at the given location.
