Message 1 of 3
topolgy correctness information
Not applicable
11-22-2011
03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have to access topologies in a lot of DWG-s. But there are some DWGs where one or more topolgies can be incorrect (for example, duplicated topology IDs). How can I get information about topology correctness - in program? Now I open - and close, of course - topologies and if one topologies is incorrect, the AutoCAD is crashed when I try to open it.
C++, ObjectArx, AutoCAD Map 3D 2010 (or higher)
AcMapTopology topo(strTopoName);
AcMap::EErrCode err = AcMap::kOk;
try
{
err = topo.Open(AcMapTopology::eForRead);
}
catch (...)
{
// ...
}