Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Variable for quantity of pattern
james_howard360
PRO
OnShape won't accept a variable to define the quantity in a linear pattern in a sketch. I think this is because the dimensions shows as "40x" instead of just "40", and I can't use letters to define the variable regardless of whether I define it as a number, length, or "any" category. Is there a way around this?
0
Best Answer
-
I believe this functionality just isn't supported for sketch patterns at the moment.
There is some discussion here: https://forum.onshape.com/discussion/comment/13517#Comment_135175
Answers
-
I believe this functionality just isn't supported for sketch patterns at the moment.
There is some discussion here: https://forum.onshape.com/discussion/comment/13517#Comment_135175 -
You can indeed drive a linear sketch pattern by a variable.
https://cad.onshape.com/documents/45a2c076f1c94dc89f7377af/w/cbcafb5dd5c0a80663e5df89/e/e05fc92da7da6c65b804da81
Perhaps your error is that the variable occurs below the sketch in history order?Creating knowledge-driven design automation software, for molds, etc.
www.virtualmold.com0 -
@alan_baljeu when I copy your model and edit the variable it only changes the part pattern, not the sketch pattern. Can you check again to see if it is actually working for you?0
-
It seems it doesn't work after all. Seemed to work when I created it, but no, not allowed.Creating knowledge-driven design automation software, for molds, etc.
www.virtualmold.com0
