×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Plotting Using VBA

Plotting Using VBA

Plotting Using VBA

(OP)
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?

RE: Plotting Using VBA

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

RE: Plotting Using VBA

(OP)
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?

RE: Plotting Using VBA

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources