AnsweredAssumed Answered

can you use global variables outside of Modify Dimensions & Equations?

Question asked by B. M on Apr 18, 2012

I am trying to scale a sketch by a scale factor, using a global variable to define that scale factor. It will not let me. Do you have access to global variables within tools/functions like scaling? If so, please help. If not, that is pretty unfortunate.

 

I have tried all the syntaxes I can think of:

 

scale_factor = "R@Radius" evaluates to .03in

scale_factor = int( "R@Radius" ) evaluates to .03     (I tried this in case the "inches" were causing a problem, as the scale factor is dimensionless)

 

then in the scale entities -> scale factor dialog box, I tried

 

"scale_factor"

= "scale_factor"

with and without quotations.

 

Thanks

Outcomes