Global Variable in Equation
Global Variable in Equation
(OP)
To tryout Global variables, I am adding a equation to a dimension in sketch.
LENGTH = 1
"D1@Sketch1" = LENGTH
SW says incorrect syntax.
Whats wrong here?
LENGTH = 1
"D1@Sketch1" = LENGTH
SW says incorrect syntax.
Whats wrong here?






RE: Global Variable in Equation
"D1@Sketch1" = "LENGTH"
You need the quote marks around the GV.
RE: Global Variable in Equation
RE: Global Variable in Equation
h
h
RE: Global Variable in Equation
RE: Global Variable in Equation
"SurfaceArea" = Part.Extension.CreateMassProperty.SurfaceArea
I got that somewhere digging through this board way back when. Just be careful, it's apparently always metric.
RE: Global Variable in Equation
What you have there is VBA. You can put any valid single line of VBA into an equation.
-handleman, CSWP (The new, easy test)
RE: Global Variable in Equation