Pushing and popping commands
Digi3D.AI stores commands in a stack.
Running a command places it on top of the stack. Finishing removes it. When the stack is empty, the application is in ready mode.
Commands are removed in reverse execution order. If you run a first, second, and third command, they are popped third, second, then first.
Running another command before the current one finishes pushes the new command above it. When the new command ends, you can resume the interrupted command.