I am still working on my tool palette macro buttons. Usually when I click a button it will perform those actions in the current drawing.
^C^C(ALERT "Creating title Sheet.");._FileDia;0;._CMdDia;0;layout;delete;Layout1;layout;set;. . .
I know I can use the _QNEW command.
^C^C(ALERT "Creating title Sheet.");_QNEW;._FileDia;0;._CMdDia;0;layout;delete;Layout1;layout;set;. . .
But when I do that the commands are still focused on the original drawing. Any ideas?