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

public int AddOption( string englishOption, string englishOptionValue, bool hiddenOption )
Public Function AddOption ( englishOption As String, englishOptionValue As String, hiddenOption As Boolean ) As Integer
Parameters
- englishOption
- Type: SystemString
Must only consist of letters and numbers (no characters list periods, spaces, or dashes). - englishOptionValue
- Type: SystemString
The option value in English, visualized after an equality sign. - hiddenOption
- Type: SystemBoolean
If true, the option is not displayed on the command line and the full option name must be typed in order to activate the option.
Return Value
Type: Int32Option index value (>0) or 0 if option cannot be added.

Rhino for Windows
Supported in: 6.14