In V8i, I use the following code snip to "copy" a Text Style into the "none" style, and then text placed has the settings from my text style, but does not have a linkage back to the style (Element Properties shows Text Style: none), so when I change the style later, the text does not change.
MdlTextStyle *pStyleTemplate = mdlTextStyle_create(); UInt32 styleId; if ( SUCCESS == mdlTextStyle_getByName(&pStyleTemplate, &styleId, L"MyStyle", ACTIVEMODEL, true) ) { ... mdlTextStyle_copyTextStyleIntoTCB(pStyleTemplate,0); } mdlTextStyle_free(pStyleTemplate);
Is there a MicroStation API equivalent for mdlTextStyle_copyTextStyleIntoTCB() ? I can perform all my text settings using TextStyleManager and DgnTextStylePtr, but I can only "Activate" the tweaked style. Text placed is tied back to that "altered" Text Style" and is affected by future changes to the style.
Bruce