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)
swModel.ForceRebuild3(True)
' 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.
SolidworksApi macros