Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

autocad PAGE SETUP

Status
Not open for further replies.

kcimos

Civil/Environmental
Joined
Sep 12, 2003
Messages
4
Location
US
is there away to work with page setups?
i mean, is there a PageSetup object or PageSetups collection?
i don't see anything like that in the object model, but maybe its undocumented or something.
i'm trying to something that should be simple, one of the first things that needs to happen is the listing of the page setups in a drawing.
 
You can access the properties from the ModelSpace or PaperSpace objects.

Ex.

ThisDrawing.ModelSpace.Layout.PlotType = acExtents
ThisDrawing.ModelSpace.Layout.StandardScale = acScaleToFit

ThisDrawing.Plot.NumberOfCopies = 1
ThisDrawing.Plot.PlotToDevice


DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
I solved this similar problem in my own plot program with this:
sendkeys "pagesetup " ,true

When invoked vba waits until the pagesetup is executed.


Willem from the Netherlands
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top