- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Associative dimensions on custom entities are not working in AutoCAD 2019.
The functions "acdbEnableDimAssocForEntity" and "acdbDisableDimAssocForEntity" is not present in "AcDimX23.dll".
And since the above mentioned functions are not present it is returning null when trying to getProcAddress() as mentioned below.
_______________________________________________________________
HMODULE hModule = LoadLibrary(_T("AcDimX23.dll"));
exp_acdbEnableDimAssocForEntity fPtrEnableDimAssoc;
if (nullptr != hModule)
fPtrEnableDimAssoc = (exp_acdbEnableDimAssocForEntity)GetProcAddress(hModule,"acdbEnableDimAssocForEntity");
// fPtrEnableDimAssoc is null after the above function call.
________________________________________________________________
And because of the above the associative dimensions are not working for the custom entities.
Please have a look into the attached image from the dependency walker for further clarification.
Is there any work around for this??
Solved! Go to Solution.