Message 1 of 1
How to get an AcDbDimAssoc instance from its id?

Not applicable
05-19-2008
01:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Under the Managed C++ platform,I use Autodesk::AutoCAD::ApplicationServices::Application::DocumentManager->MdiActiveDocument->Editor->GetEntity() method to get the AcDbDimension instance id.and then I use acdbGetDimAssocId function to get the relative AcDbDimAssoc instance id. But I failed to get the AcDbDimAssoc instance, because the acdbOpenObject function can not obtain the illegal instance.