Hey all,
I'm trying to add a Multi Jog Leader using math points. I'm currently using the API example as a reference but that doesn't seem to output anything?
2012 SOLIDWORKS API Help - Insert Multi-jog Leader Example (VBA)
Below is a snippet of the code I'm currently using. It actually runs through without any errors but doesn't give the desired output.
point(0) = -0.2
point(1) = textY - 45 / 1000
point(2) = 0
Set swMathPoint = swMathUtil.CreatePoint(point)
point2(0) = -0.8
point2(1) = textY - 45 / 1000
point2(2) = 0
Set swMathPoint2 = swMathUtil.CreatePoint(point2)
Set pointArr(0) = swMathPoint
Set pointArr(1) = swMathPoint2
mathPointArr = pointArr
Set swNote = swDrawDoc.CreateText2("DIRECTION OF GRAIN", -0.1, textY - 25 / 1000, 0, 0.016, 0)
Set swMultiJogLeader = swDrawDoc.InsertMultiJogLeader3(mathPointArr , swCLOSED_ARROWHEAD, swCLOSED_ARROWHEAD)