Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Plotting Using VBA 1

Status
Not open for further replies.

LumpoDelMagnifico

Electrical
Sep 22, 2004
35
I am having a major problem with plotting and it has only gotten worse as I have played with it.

I want to Plot the current Drawing Using VBA. I want the drawing to be centered, I want it to print to extents and I want the plot to scale to fit the page. Can someone show me how I do this?
 
Replies continue below

Recommended for you

I believe that you need to use plotconfiguration object in VBA. This object has 11 methods and 32 properties. Examples for each these properties and methods are included in the ACAD online Help.

Hope this helps
John
 
I can't find any documentation on plotconfiguration in the ACAD help files and I can't seem to find this online could you either provide a link or post some examples please?
 
Just an FYI, you could easily make printing buttons in LISP, if you have some "Set" ways of plotting. Just another idea...

(command "-PLOT" "Y" "Layout1" PRINTER PAPSZ "Millimeters" "Landscape" "N" "Window" PT1 PT2 "1=1" "0,0" "Y" "Standard.ctb" "Y" "N" "N" "N" "N" "Y" "N")

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor