ValueWithUnits
Discussion List
-
Adding Numbers and valueWithUnits (map)
Hi I'm trying to assign a variable value which is the addition of two other values where one is a number and the other is the output of an acos(), which makes it a valueWithUnits. The problem is something similar to: var ay = 5 + acos(100/102); Which gives the error as seen on the screenshot. How can the output of an…
-
In Feature Script: Zero need ValueWithUnits when sketching somethings?
Hello Everyone, I try to sketch circle like this: precondition { annotation { "Name" : "Ring Diameter" } isLength(definition.myRingDiameter, { (millimeter) : [0, 120, 500] } as LengthBoundSpec); } var D = definition.myRingDiameter; skCircle(sketchPINS, "circle1", { "center" : vector(0 , D/2), "radius" :…