Click or drag to resize

CommandLookupCommandId Method

Returns the ID of a command.

Namespace:  Rhino.Commands
Assembly:  RhinoCommon (in RhinoCommon.dll)
public static Guid LookupCommandId(
	string name,
	bool searchForEnglishName


Type: SystemString
The name of the command.
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.2
See Also