CommandEventArgs

EventArgsReferences

Properties

CommandEnglishName

#Since v5.0
public string CommandEnglishName { get; }
Gets the English name of the command that raised this event.

CommandHelpURL

#Since v8.0
public string CommandHelpURL { get; }
Gets the help url of the command that raised this event.
Remarks: Null is a possible return. Calling function must check before using result. m_help_url will get set only if the commmand has a ContextHelpURL override.

CommandId

#Since v5.0
public Guid CommandId { get; }
Gets the ID of the command that raised this event.

CommandIsHiddenFromUser

#Since v8.36
public bool CommandIsHiddenFromUser { get; }
Returns true if the command that raised this event is hidden from the user; that is it doesn't autocomplete on the command line.

CommandLocalName

#Since v5.0
public string CommandLocalName { get; }
Gets the name of the command that raised this event in the local language.

CommandPluginName

#Since v5.0
public string CommandPluginName { get; }
Gets the name of the plug-in that this command belongs to. If the command is internal to Rhino, then this property is an empty string.

CommandResult

#Since v5.0
public Result CommandResult { get; }
Gets the result of the command that raised this event. This value is only meaningful during EndCommand events.

Document

#Since v6.0
public RhinoDoc Document { get; }

DocumentRuntimeSerialNumber

#Since v6.0
[CLSCompliant(false)] public uint DocumentRuntimeSerialNumber { get; }