AnsweredAssumed Answered

How to change the value of a global variable using a macro?

Question asked by Katarzyna Debowska on Mar 4, 2019
Latest reply on Mar 4, 2019 by Artem Taturevych

Hi All,

I don't know how to change the value of a global variable using a macro. I want my existing global variable, which results from a certain formula when its value is less than 1, assumes the value 0.

 

I tried to write the code in this way:

ElseIf "Ir" < 0 Then

    Set swEquationMgr = Part.GetEquationMgr

    swEquationMgr.SetEquationAndConfigurationOption 0, """Ir"" = 0", All, Empty

Outcomes