Author Topic: Plotting all layouts VB.net WindowsApplication  (Read 2626 times)

0 Members and 1 Guest are viewing this topic.

Humbertogo

  • Guest
Plotting all layouts VB.net WindowsApplication
« on: October 22, 2009, 10:11:45 AM »
How to plotting all layouts using VB.net? WindowsApplication

Viktor

  • Guest
Re: Plotting all layouts VB.net WindowsApplication
« Reply #1 on: October 22, 2009, 01:18:17 PM »
What do you mean by a WindowsApplication? This is a standalone app? So you're not loading a dll into autocad?

If it is a standalone app, you'd have to do it by referencing autocad type library and using COM interop to go through tabs and plot files out.

Humbertogo

  • Guest
Re: Plotting all layouts VB.net WindowsApplication
« Reply #2 on: October 22, 2009, 02:03:00 PM »
ít's a standalone Application

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Plotting all layouts VB.net WindowsApplication
« Reply #3 on: October 22, 2009, 02:43:54 PM »
I still think it has to be ran within the editor, or you have to use ' RealDwg ', as you need to generate the graphics, and those are the only two ways I know of.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Viktor

  • Guest
Re: Plotting all layouts VB.net WindowsApplication
« Reply #4 on: October 22, 2009, 09:24:37 PM »
ít's a standalone Application

Are you planning on opening autocad through this application? Do you have a licensed version of AutoCad? or are you trying to plot it without autocad?

jmaeding

  • Bull Frog
  • Posts: 304
  • I'm just here for the Shelties.
Re: Plotting all layouts VB.net WindowsApplication
« Reply #5 on: October 23, 2009, 11:36:31 AM »
If standalone, you have to do it how you did with old vb6.
If you check in:
C:\Program Files\<your acad>\Sample\ActiveX\
you should find some info.
Also search for interop around here and you will find how to start acad up from external app.
You cannot plot without opening the drawing in some form of session.  It may be hidden or whatever, but acad does a regen (of display list) when it plots, so no dbx style plotting....
James Maeding