Not intuitive, but here's one answer …
ElementID id = ...
MSElementDescr* pElm = NULL;
UInt32 filePos = 0;
if (SUCCESS == mdlAssoc_getElementDescr (&pElm, &filePos, id, modelRef, FALSE))
{
...
mdlElmdscr_freeAll (&pElm);
}
Regards, Jon Summers
LA Solutions