GH_Component.GH_InputParamManager.AddAngleParameter Method (String, String, String, GH_ParamAccess) |
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
)
Public Function AddAngleParameter (
name As String,
nickname As String,
description As String,
access As GH_ParamAccess
) As Integer
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 GetData(), GetDataList() or GetDataTree() respectively.
Return Value
Type:
Int32See Also