AnsweredAssumed Answered

API for adding equation to line

Question asked by Lasse Nielsen on May 20, 2016
Latest reply on May 27, 2016 by Deepak Gupta

Hi there,


I have 3 construction lines


Line 1: D1@sketch1 is 17mm

Line 2: D2@sketch1 is 180mm

Line 3: I need this line to be equal to Line2/Line1 using a macro


Apparently the following macro doesn't do the job.

swEquationMgr.Add -1, """D3@Sketch1""=""D2@Sketch1""/""D1@Skech1"""


What am I doing wrong? Please help.