1 Reply Latest reply on May 23, 2016 10:05 PM by Artem Taturevych

    Change Value of the global variable in Assembly

    Sanya Shmidt

      Hello !


      I`m trying to change a variable in assembly by doing the following:


      swModel = swApp.ActiveDoc

      Dim swEqnMgr = swModel.GetEquationMgr

      swEqnMgr.SetEquationAndConfigurationOption(0, """FRAMEHEIGHT""= 123", swInConfigurationOpts_e.swAllConfiguration, Nothing)



      ' 0- Global Variable "FRAMEHEIGHT"= 120 index



      It doesn`t do anything for me. Am I `missing anything? If I want to change number 123 to the specific variable like Frame.OALHeight how I do that?


      Thank you.