The documentation for LsDgnFileMap has this: If the line style map is a LsDgnFileMap then the LsEntryP that is returned may be a pointer to a stub used to translate from element style number to name. Call LsDgnFileMap::Resolve to find the LsEntry that is used to stroke the element.
LsDgnFileMap
However, as far as I can see, LsDgnFileMap.Resolve does not exist.
LsDgnFileMap.Resolve
Hi Jon Summers,
I presume the method listed (LsDgnFileMap::Resolve) may have been either "cut short" or documented "prior to public publishing". Please see if this provides what you need/expect at this time and I will file an defect against the documentation if appropriate.
DgnPlatform\LineStyleManager.h:185: static LsEntryCP ResolveLineStyle (Int32 styleNumber, DgnModelRefP modelRef) {return ResolveLineStyle (styleNumber, GetDgnFileP(modelRef));}
HTH,Bob
Does .NET have a stub used to translate from element style number to name? If it doesn't, then LsDgnFileMap::Resolve does nothing perceptible?
LsDgnFileMap::Resolve
Regards, Jon Summers LA Solutions
Consider using DgnPlatform LineStyleManager.GetNameFromNumber (.NET) or LineStyleManager::GetNameFromNumber (C++); both of which are consumers of: LsDgnFileMap::ResolveLineStyle.
Answer Verified By: Jon Summers