M_Rhino_Commands_Command_LookupCommandId - mcneel/rhinocommon-api-docs GitHub Wiki

Command.LookupCommandId Method

Returns the ID of a command.

Namespace: Rhino.Commands
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Guid LookupCommandId(
	string name,
	bool searchForEnglishName
)

VB

Public Shared Function LookupCommandId ( 
	name As String,
	searchForEnglishName As Boolean
) As Guid

Parameters

 

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.

Return Value

Type: Guid
An of the command, or Empty on error.

Version Information

Supported in: 5D58w

See Also

Reference

Command Class
Rhino.Commands Namespace

⚠️ **GitHub.com Fallback** ⚠️