TheSwamp
CAD Forums => CAD General => Topic started by: novice on May 24, 2016, 02:11:44 PM
-
I've just started editing the CUI for the first time. Made a custom toolbar. Added a few AutoCAD commands to it. Added a couple of my lisp routines. Tried my hand at a pull-down menu, too. Added a lisp routine to it. So far so good.
But now I want to make a toolbutton for a lisp routine that I always use transparently. But when I click the new toolbutton with this command, it always takes me out of the original command and then starts my new command. So it doesn't work transparently.
In the CUI, I defined the macro with the apostrophe for the transparency: my lisp routine is CC, I always use it transparently on the command line by typing 'CC in the middle of a command, and the macro in the CUI looks like this: ^C^C_'cc
Any suggestions? I can't find anything on Google...
-
You do know what that "^C^C" prefix does, right? ;-)
-
You do know what that "^C^C" prefix does, right? ;-)
I was thinking that, also.
-
http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-D991386C-FBAA-4094-9FCB-AADD98ACD3EF
^C^C
Special control character sequence
Sequence that is similar to pressing the Esc key twice.
-
Lol, thanks everyone. Solved.