Hi Danny, No currently there is not any support for "nesting" commands like that.
I would like to have some provision for that, but currently when a set of script runs as a "command", it is intended to be the only running thing.
This simplifies things by quite a bit since otherwise if nesting things was more of the default (which I did have at one point very early on) it can get pretty crazy, like if you start to draw a line and then before you pick the second point of the line, you click the circle button and launch the circle command but did not exit the line command, then you would pick a circle and when that finished suddenly be back picking the second point of the original line command again.
To avoid this kind of confusing situation with just any command getting nested like that, there is currently a restriction where only a single command can run at a time.
It just makes for much more predictable operation to have it work like that.
I would like to have a way for a command to optionally declare itself to be nestable though, but I don't think I will have that for v2.
It would probably be possible to restructure the distance custom command to run as an instant executed script rather than as a full fledged "command" though.
- Michael
|