Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If I select entity from DWG, by ssgeg function, I have a general entity pointer (AcDbEntity* pEntity). How I get a real class name of this netity (eg. AcDbLine or AcDbText, etc...). Like string.
pEntity->className() return "AcDbEntity"
pEntity->isA()->desc()->className() return some unsence ("AcRxObject").
I, of course, dont know, what type pEntity is. I cannot use AcDbLine::desc(pEntity).....
Thanks.
Solved! Go to Solution.