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

Apply to layout" - how?

4 REPLIES 4
Reply
Message 1 of 5
GrzesiekGP
440 Views, 4 Replies

Apply to layout" - how?

Hello, 

Following this article:

http://through-the-interface.typepad.com/through_the_interface/2007/09/driving-a-basic.html

 

I have change something in this code, and I'm setting plot window area based on borders in layout.

Everything is ok.

 

One thing I want to have is to apply all my plot settings to the current layout - as I said, window area is set well, but in layout space I don't have good "paper area" (look at screenshot).

 

I have to go to the plot settings, set or unset (in example) centering plot and then click apply to layout. After that I have everything ok.

 

So, how can I from C# set paper area in layout space (I mean only this black part in layout).

 

Thanks.

4 REPLIES 4
Message 2 of 5
folivier
in reply to: GrzesiekGP

This may help you, setup the *.dwt and the "Page Setup Manager" and follow the steps.

Message 3 of 5
SENL1362
in reply to: GrzesiekGP

The easiest way i found so far is to switch layouts, i.e. set layout2 or Model active and then switch back.
All type of refreshes and regen's didn't.
Message 4 of 5

Hi,

I also have the same issue : I change by code the plot setting but I'm not able to "Apply To Layout".

Does anyone have found the solution ?

 

Switch Layouts refreshes the layout by all the parameters are not applied

Message 5 of 5

 I found the issue : you must specify  : CanonicalMediaName

 

IE : plotConfig.CanonicalMediaName = "ISO_expand_A0_(841.00_x_1189.00_MM)";

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