RhinoCommon API
GetBaseClassAddOption Method (LocalizeStringPair) |
Adds a command line option.
Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)

public int AddOption( LocalizeStringPair optionName )
Public Function AddOption ( optionName As LocalizeStringPair ) As Integer
Parameters
- optionName
- Type: Rhino.UILocalizeStringPair
Must only consist of letters and numbers (no characters list periods, spaces, or dashes).
Return Value
Type: Int32option index value (>0) or 0 if option cannot be added.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14