How to get an AcDbDimAssoc instance from its id?

How to get an AcDbDimAssoc instance from its id?

Anonymous
Not applicable
374 Views
0 Replies
Message 1 of 1

How to get an AcDbDimAssoc instance from its id?

Anonymous
Not applicable
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.
0 Likes
375 Views
0 Replies
Replies (0)