SetTextComponentOverride Broken

SetTextComponentOverride Broken

fugitt_christopher
Explorer Explorer
116 Views
0 Replies
Message 1 of 1

SetTextComponentOverride Broken

fugitt_christopher
Explorer
Explorer

In Civil 3D 2027 is the SetTextComponentOverride broken?

It replaces the text, but doesn't evaluate any of the non-modified properties. Opening the "Edit Label Text", pressing OK, then evaluates the Text Compenent as expected.

 

2026-04-08_13-13-50.png

 
if (hasTxtCompenentChange)
{
    label.UpgradeOpen();
    txtComponent.UpgradeOpen();
    label.SetTextComponentOverride(txtComponentObjId, txt);
    label.SetRegAppName("Yes", RegAppName);
    labelCount++;
}

 

0 Likes
117 Views
0 Replies
Replies (0)