Click or drag to resize

GH_Component.GH_OutputParamManager.AddIntervalParameter Method

Add a Interval (i.e. numeric domain) parameter to the output list of this component.

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

Parameters

name
Type: System.String
The name of the parameter. Keep it short, single words are best.
nickname
Type: System.String
The nickname of the parameter. Keep it short, single characters are best.
description
Type: System.String
The description of the parameter. Be succinct but clear, single sentences are best.
access
Type: Grasshopper.Kernel.GH_ParamAccess
Parameter access type. You must provide a correct access code in order to use SetData(), SetDataList() or SetDataTree() respectively.

Return Value

Type: Int32
See Also