I have code running that modifies many things in the drawing but part of it is adjusting the parametric constraints table data using the AssocVariable.SetExpression().
For example: heightVariable.SetExpression("100", "", true, true, ref err, false);
If I run the tool, I can see in the parameters window that the value was updated, and the lines of the model flex as expected.
However, I have some standard DIMs attached to the model and they do not flex properly. I also have some cross hatching on part of it and it does not flex with it's container.
If I manually modify the parameters table, it works as expected and everything flexes together.
Is there an API call or something else I need to do aside from committing the transaction to get these different items to flex together?