T_Rhino_Commands_RunMode - mcneel/rhinocommon-api-docs GitHub Wiki
Provides enumerated constants for a command running mode. This is currently interactive or scripted.
Namespace: Rhino.Commands
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public enum RunMode
VB
Public Enumeration RunMode
Member name | Value | Description | |
---|---|---|---|
Interactive | 0 | Can use dialogs for input. Must use message boxes to report serious error conditions. | |
Scripted | 1 | All input must come from command line, GetPoint, GetObject, GetString, etc. Must use message boxes to report serious error conditions. Script mode gets used when a command is run with a hyphen (-) prefix. |
Supported in: 5D58w