Hello,
I have had some success adding equations to my parts and assemblies using the API but I am trying to now alter some of the equations to a new value for existing parts where the equation already exists as a global variable. I have been unable to find any documentation on the way to do this. I am sure it is through the IEquationMgr interface but I am not sure which function.
When I try to rewrite over the existing equation through this line where beltwidth is a predetermined integer:
swEqMgr.Equation(0) = """belt""=" & BeltWidth
Then the result in the model tree is "belt"=???
Does anyone the correct function for changing the global variable or any suggestions on a better way to tackle this problem?
Thanks,
Ross
SolidworksApi macros