.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Layout Problems

1 REPLY 1
Reply
Message 1 of 2
Anonymous
271 Views, 1 Reply

Layout Problems

I've been able to cerate a new layout and set it current and create a custom pages setup.

How can I set my new layout's page setup with code?

If I modify the layout and set the page setup to the one I created by hand everything works great.

Thanks in advance.
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Call the CopyFrom method of the Layout, and
pass it the PlotSettings object.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5631090@discussion.autodesk.com...
I've been able to cerate a new layout and set it current and create a custom pages setup.

How can I set my new layout's page setup with code?

If I modify the layout and set the page setup to the one I created by hand everything works great.

Thanks in advance.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost