Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape, CAD, maker project and design.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Variables & Circular Patterns

mr_deekmr_deek Member Posts: 3
edited March 2016 in Community Support


Am I correct that you can not use variables for Circular Patterns?

When I enter a [#Variable] say 10. I expect the sketch to be updated with 10 patterns of an object.

I get an error in the sketch that the pattern will not take a variable for calculation?

Example Gear Sketch: (changing the variable #GearTeath does not change the sketch pattern)


  • thomas_kozakthomas_kozak Member Posts: 38 ✭✭
    edited March 2016
    Currently, you can use a variable in a pattern feature but not in a sketch pattern.  In your example, the workaround would be to draw only one of the tooth cutouts in your sketch, then face pattern the resulting cutout by variable.
  • shanshanshanshan Member Posts: 147 ✭✭✭
    mr_deek, I  also meet the same issue,maybe Onshape will solve it soon , now we can creat it with other method like thomas_kozak metioned.
  • RyanAveryRyanAvery Member Posts: 12 EDU
    This should be a very easy fix. I can type 5 into the box for sketch pattern but I cant make a variable "Num = 5" and type "#Num" into the box? 
  • Jake_RosenfeldJake_Rosenfeld Onshape Employees, Developers Posts: 435

    Check out this post from @kevin_o_toole_1 for a technical explanation of why we don't currently allow variables in sketch pattern:
    Jake Rosenfeld - Modeling Team
Sign In or Register to comment.