M_Rhino_Commands_Command_LookupCommandId - mcneel/rhinocommon-api-docs GitHub Wiki
Returns the ID of a command.
Namespace: Rhino.Commands
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Guid LookupCommandId(
string name,
bool searchForEnglishName
)
VB
Public Shared Function LookupCommandId (
name As String,
searchForEnglishName As Boolean
) As Guid
- name
- Type: System.String
The name of the command. - searchForEnglishName
- Type: System.Boolean
true if the name is to searched in English. This ensures that a '_' is prepended to the name.
Type: Guid
An of the command, or Empty on error.
Supported in: 5D58w