VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Set added Page Setup as Current

1 REPLY 1
Reply
Message 1 of 2
Jedimaster
324 Views, 1 Reply

Set added Page Setup as Current

I have a routing that creates Page Setup or Plot Configurarion.

Thisdrawing.PlotConfigurations.Add "TempPlot", False

It create a plot configuation fine, but how do I set it as current.

1 REPLY 1
Message 2 of 2
Jedimaster
in reply to: Jedimaster

'Create a default pagesetup to capture existing settings

ThisDrawing.PlotConfigurations.Add "Default", False
ThisDrawing.PaperSpace.Layout.CopyFrom ThisDrawing.PlotConfigurations.Item(0)

'Create a new pagesetup copy to layout

ThisDrawing.PlotConfigurations.Add "TempPlot", False
ThisDrawing.PaperSpace.Layout.CopyFrom ThisDrawing.PlotConfigurations.Item(ThisDrawing.PlotConfigurations.Count - 1)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost