Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i C++] Approach To Edit A Cell's Text Node Inside OnElementModify()

$
0
0

My initial approach for this is to duplicate the ElementDescr of the TextNode, and then call mdlModify_elementDescr2() to "replace" the text element components with the desired text string(s). Then using the "new" ElementDescr, simply replace it via ReplaceElemDescr().

 

Not sure if this is the best/correct approach, but it *seems* to be working. More testing required.

 

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>