Grasshopper API
GH_ComponentGH_OutputParamManagerAddTextParameter Method |
Add a Text parameter to the output list of this component.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public int AddTextParameter( string name, string nickname, string description, GH_ParamAccess access )
Public Function AddTextParameter ( name As String, nickname As String, description As String, access As GH_ParamAccess ) As Integer
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 SetData(), SetDataList() or SetDataTree() respectively.
Return Value
Type: Int32