Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SetWindowToPlot GetWindowToPlot problem.

0 REPLIES 0
Reply
Message 1 of 1
dearto502
420 Views, 0 Replies

SetWindowToPlot GetWindowToPlot problem.

Hi,

Some dwg files has a problem in VBA plotting.

I had attached files.

When you open a drawing file you can find a rectangle.

As you know that rectangle point1 is 0 0 and point2 is 1189 841.

But when you try to below ways.
=> ctrl+p / plot type set a window / set a rectangle area
you can fine a problem.

Try to below cord.

"ThisDrawing.ActiveLayout.GetWindowToPlot point1, point2"

you will get p1 is -878226, -980700, p2 is -877037, -979859

"SetWindowToPlot" was indicate wrong point too.

how can i get(or set) a correct coordinate ?

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report

”Boost