Command.LookupCommandId Method

CommandLookupCommandId Method

Returns the ID of a command.

Namespace:  Rhino.Commands
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Guid
An of the command, or Empty on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also