Click or drag to resize

GH_ComponentGH_OutputParamManagerRegisterParam Method (IGH_Param, String, String, String, GH_ParamAccess)

Generic parameter registration. This class provides methods to register standard parameters, but if you have a special type you're in charge of setting it all up yourself.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void RegisterParam(
	IGH_Param param,
	string name,
	string nickname,
	string description,
	GH_ParamAccess access
)

Parameters

param
Type: Grasshopper.KernelIGH_Param
The parameter to add
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.
access
Type: Grasshopper.KernelGH_ParamAccess
Parameter access, you should set this field if you intend to output lists here.
See Also