Click or drag to resize

GH_ComponentGH_InputParamManagerAddAngleParameter Method (String, String, String, GH_ParamAccess, IEnumerableDouble)

Add a floating point Number parameter to the input list of this component. The parameter will be aware that it is representing angles.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public int AddAngleParameter(
	string name,
	string nickname,
	string description,
	GH_ParamAccess access,
	IEnumerable<double> default
)

Parameters

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

Return Value

Type: Int32
See Also