Check if command is running

I made a command that does some tasks.

I need check if this command is runing or not, there some way?



If (command (_-Custom== true)
{“Command is running”);


Hi @MatrixRatrix
See the EndCommand event in the sample

There are several static functions on the Command class in RhinoCommon to check active command and the command stack.

You probably want


Thank you.