Click or drag to resize

Style Enumeration

Defines bitwise mask flags for different styles of commands, such as Hidden or DoNotRepeat.

Namespace:  Rhino.Commands
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public enum Style
  Member nameValueDescription
None0 No flag is defined.
Hidden1 Also known as a "test" command. The command name does not auto-complete when typed on the command line an is therefore not discoverable. Useful for writing commands that users don't normally have access to.
ScriptRunner2 For commands that want to run scripts as if they were typed at the command line (like RhinoScript's RunScript command)
Transparent4 Transparent commands can be run inside of other commands. The command does not modify the contents of the model's geometry in any way. Examples of transparent commands include commands that change views and toggle snap states. Any command that adds or deletes, a view cannot be transparent.
DoNotRepeat8 The command should not be repeated by pressing "ENTER" immediately after the command finishes.
NotUndoable16 By default, all commands are undo-able.
See Also