Click or drag to resize

GH_ComponentGH_InputParamManagerAddScriptVariableParameter Method

Add a Script Variable parameter to the input list of this component. Script variable parameters are used almost exclusively in VB/C#/Python components so you probably don't want this one.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
public int AddScriptVariableParameter(
	string name,
	string nickname,
	string description,
	GH_ParamAccess access


Type: SystemString
The name of the parameter. Keep it short, single words are best.
Type: SystemString
The nickname of the parameter. Keep it short, single characters are best.
Type: SystemString
The description of the parameter. Be succinct but clear, single sentences are best.
Type: Grasshopper.KernelGH_ParamAccess
Parameter access type. You must provide a correct access code in order to use GetData(), GetDataList() or GetDataTree() respectively.

Return Value

Type: Int32
See Also