.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 4
vbarx101
246 Views, 3 Replies

Paper size

Please show me how to create new Layout with paper size set at 17x11 or any size but default 8.5x11. I'm using vs 2005 with Autocad 2007. I'm very new to this, Thanks.
3 REPLIES 3
Message 2 of 4
vbarx101
in reply to: vbarx101

What is .NET equivalent to the following code, Anybody?

Dim Lo As AcadLayout
Set Lo = ThisDrawing.Layouts.Add("Test")
Dim s1 As String
s1 = "ANSI_B_(11.00_x_17.00_Inches)"
ThisDrawing.ActiveLayout = Lo
Lo.ConfigName = "None"
Lo.CanonicalMediaName = s1
ThisDrawing.Regen acActiveViewport
Message 3 of 4
Anonymous
in reply to: vbarx101

Well, it's a lot more code than that 🙂

Having not done anything in that area, I have
no sound examples, but I think there's been
some code posted here in the past relating to
layouts and plot configs.

Have you tried searching this newsgroup?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:5539105@discussion.autodesk.com...
What is .NET equivalent to the following code, Anybody?

Dim Lo As AcadLayout
Set Lo = ThisDrawing.Layouts.Add("Test")
Dim s1 As String
s1 = "ANSI_B_(11.00_x_17.00_Inches)"
ThisDrawing.ActiveLayout = Lo
Lo.ConfigName = "None"
Lo.CanonicalMediaName = s1
ThisDrawing.Regen acActiveViewport
Message 4 of 4
vbarx101
in reply to: vbarx101

Thanks Tony, I searched and copied code that might be what I need. I am studying it. I am learning much from this forum and "theswamp". Thanks for make me feel being helped.

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