M_Rhino_Commands_Command_GetCommandStack - mcneel/rhinocommon-api-docs GitHub Wiki

Command.GetCommandStack Method

Determines if Rhino is currently running a command. Because Rhino allow for transparent commands (commands that can be run from inside of other commands), this method returns the total ids of active commands.

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

Syntax

C#

public static Guid[] GetCommandStack()

VB

Public Shared Function GetCommandStack As Guid()

Return Value

Type: Guid[]
Ids of running commands or null if no commands are currently running. The "active" command is at the end of this list.

Version Information

Supported in: 5D58w

See Also

Reference

Command Class
Rhino.Commands Namespace

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