Author Topic: Batchplot with Windows Application  (Read 1430 times)

0 Members and 1 Guest are viewing this topic.

Physix

  • Guest
Batchplot with Windows Application
« on: March 22, 2012, 08:21:06 AM »
Hello, I have a windows application written in VB.NET.
Is there anyway to plot multiple drawings with multiple views easily?
I have been searching over the internet for some kind of batchplot script but with no success.
I wrote a script that opens acad.exe, sendcommand("-PLOT"), sets plotting area to "PAGE1", but problem is that the views aren't always named as "Page 1" and "Page 2" etc.
I tried to get list of views in the drawing, but I couldn't do it, how can I get this information from dwg's database?

I was also wondering if there is a way to plot without opening the autocad, since I have to put Thread.Sleep in the current macro to wait until autocad is open.
My sample script is on the other computer so I can't paste it here atm.
Cad I'm using is Autocad 2012.
Thank you in advance.