RhinoCommon API
CommandLookupCommandId Method |
Returns the ID of a command.
Namespace: Rhino.Commands
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Guid LookupCommandId( string name, bool searchForEnglishName )
Public Shared Function LookupCommandId ( name As String, searchForEnglishName As Boolean ) As Guid
Parameters
- name
- Type: SystemString
The name of the command. - searchForEnglishName
- Type: SystemBoolean
true if the name is to searched in English. This ensures that a '_' is prepended to the name.
Return Value
Type: GuidAn of the command, or Empty on error.

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