AnsweredAssumed Answered

Change Value of the global variable in Assembly

Question asked by Sanya Shmidt on May 23, 2016
Latest reply on May 23, 2016 by Artem Taturevych

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.