Toolbox tool combine commands
I am trying to combine some commands.
in Autocad the command ^C^C-layer s 035 ; ; _dtext \; -layer s 0 ; ; works great.
Trying to do this in Bricscad it works till ^C^C_-layer;s;TEXT;;_dtext;
need to extend with -layer;s;0;
\ is wating for input, but how is this working with dtext?
0
Comments
-
Dear Michael Vermeulen,
Using a bit of lisp solves the problem:
^C^C^C(command "_-layer" "_make" "TEXT" "")(command "_dtext")(while (= 1 (logand (getvar "cmdactive") 1))(command pause))(command "_-layer" "_set" "0" "")(princ)
At least it works in BC7...
Note the use of "make" instead of "set".
Regards, Roy.
0
This discussion has been closed.