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.