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

Plotting issue for Layouts

3 REPLIES 3
Reply
Message 1 of 4
nexsoft01
421 Views, 3 Replies

Plotting issue for Layouts

Hello everyone, and especially Tony.

I am using the attached code for plotting AutoCAD drawing from application inside AutoCAD. I can plot "Model", quite easily. But when I try to Plot "Layout1" or "Layout2", then It gives an error "IncompatibleInput"

Please help. Source code is attached in the file.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: nexsoft01

Sorry, don't have time to run your code. I guess you mean 'InvalidInput',
but you don't say what line of code the exception is thrown on.

That's the first question.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000 through 2009

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");


wrote in message news:6216222@discussion.autodesk.com...
Hello everyone, and especially Tony.

I am using the attached code for plotting AutoCAD drawing from application
inside AutoCAD. I can plot "Model", quite easily. But when I try to Plot
"Layout1" or "Layout2", then It gives an error "IncompatibleInput"

Please help. Source code is attached in the file.
Message 3 of 4
nexsoft01
in reply to: nexsoft01

Hi Tony

Thanks for your reply.

I found the problem. If the Model is plotted then I should use

PlotSettings plotSet = new PlotSettings(true);

And if Layouts are plotted then I should use

PlotSettings plotSet = new PlotSettings(false);

And my plotting is working perfect.
Message 4 of 4
wakaa.ali
in reply to: nexsoft01

Hey,

could you please write the final code for us.

Thanks

 

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