Click or drag to resize

CommandLookupCommandId Method

Returns the ID of a command.

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

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.
See Also