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

get error status string

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
leonimas
1014 Views, 2 Replies

get error status string

Hi to all,

using Objectarx/C++, is it possible convert an Acad::ErrorStatus id to

a string ? There is a function that returns the id's relative string msg ?

 

Best Regards

Leonard

2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: leonimas

There is no conversion to a message per se, but you can display the status name as a string by using acadErrorStatusText from acestext.h.

--
Owen Wengerd
ManuSoft
Message 3 of 3
artc2
in reply to: leonimas

There's the acadErrorStatusText() function declared in acestext.h which takes an Acad::ErrorStatus value as an argument and returns a string which is the ErrorStatus enum name.  It covers many of the common ErrorStatus values, but it does not cover all possible values.

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

Post to forums  

Autodesk Design & Make Report

”Boost