.NET

Reply
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 1 of 4 (63 Views)

Avoid Error !

63 Views, 3 Replies
12-22-2006 06:09 PM
Hi, all.
In my code, when no object to be selected, error occurs.
To avoid this error, what should I add in my code?
*Kerry Brown
Message 2 of 4 (63 Views)

Re: Avoid Error !

12-22-2006 06:25 PM in reply to: gilseorin
Sorry for stating the seemingly obvious ....
... test for the condition or trap the exception.

Refer to the Prompt and Selection Solution examples in the SDK
..\Samples\DotNet folder

/// kwb

wrote in message news:5434546@discussion.autodesk.com...
Hi, all.
In my code, when no object to be selected, error occurs.
To avoid this error, what should I add in my code?
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 3 of 4 (63 Views)

Re: Avoid Error !

12-22-2006 07:18 PM in reply to: gilseorin
Thank you for your information.
It's solved.
And, Pardon my ignorance.
*Tony Tanzillo
Message 4 of 4 (63 Views)

Re: Avoid Error !

12-22-2006 07:19 PM in reply to: gilseorin
The Status property of the PromptResult based
classes will be set to something other than
ErrorStatus.OK, if no input is provided.

--
http://www.caddzone.com

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

wrote in message news:5434546@discussion.autodesk.com...
Hi, all.
In my code, when no object to be selected, error occurs.
To avoid this error, what should I add in my code?
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.