Author Topic: Focus macro commands to new drawing  (Read 1379 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Focus macro commands to new drawing
« on: September 23, 2015, 07:56:52 AM »
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.

Code: [Select]
^C^C(ALERT "Creating title Sheet.");._FileDia;0;._CMdDia;0;layout;delete;Layout1;layout;set;. . .
I know I can use the _QNEW command.

Code: [Select]
^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?
Civil3D 2020

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Focus macro commands to new drawing
« Reply #1 on: September 23, 2015, 09:51:39 AM »
Are you dragging and dropping the 'tool' onto the palette or creating it while in your default DWT?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Focus macro commands to new drawing
« Reply #2 on: September 23, 2015, 10:00:29 AM »
I was hoping that I could just spin it off a new template file oppose to having to remember to start a new drawing.
Civil3D 2020

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Focus macro commands to new drawing
« Reply #3 on: September 23, 2015, 10:13:03 AM »
Then perhaps it would be best to Import a Layout Tab from a DWT that is set up to be a Title Sheet instead?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Focus macro commands to new drawing
« Reply #4 on: September 23, 2015, 10:24:36 AM »
That is correct
Civil3D 2020