AnsweredAssumed Answered

Change Value Of Linked Dimension

Question asked by Travis McGinn on Apr 18, 2019
Latest reply on Apr 18, 2019 by Travis McGinn

Good afternoon,

 

I am attempting to use API to change the value of a linked dimension in a specific configuration. The SetValue3 function returns an integer indicating that the value was set successfully, however, the value doesn't hold.

 

Dim ControlDim As IDimension = swModelDoc.Parameter(DimensionName)

 

 

If( ControlDim IsNot Nothing )Then ControlDim.SetValue3(Value, 3, ConfigName)

 

When this code is used, my part is in the configuration that I supply to the SetValue3 function.

 

Does any one have experience using API to change values of Linked Dimensions?

 

Outcomes