0 Replies Latest reply on Apr 18, 2012 6:08 PM by B. M

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

    B. M

      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