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.
is pattern multiplication using a variable implemented?
aviv_harari
Member Posts: 4 ✭
Hi!,
I drew a cavity in my model and wanted to have a few of them. other parts are relating to the cavities so the logical notion to me was to put the number of duplication in a variable and use it in all the relevant places.
for some reason this is not working as planned. i get an error. using same variable in measurements is ok.
thanks,
Aviv
I drew a cavity in my model and wanted to have a few of them. other parts are relating to the cavities so the logical notion to me was to put the number of duplication in a variable and use it in all the relevant places.
for some reason this is not working as planned. i get an error. using same variable in measurements is ok.
thanks,
Aviv
0
Answers
I believe the most common mistake is declaring the variable after the feature, it must be declare above the first instance of its use.
Cheers, Owen S.
HWM-Water Ltd
I made a sample document. now , when I want to put 3 holes instead of 2 I need to change in 2 places : the variable and the hole sketch pattern multiplication value.
https://cad.onshape.com/documents/4abaf2ce9f5a5939f8434406/w/1d943e967bbb6380c9acc630/e/2d4c468ddc3f96c9aecae0be
Here is a version of your file that uses a feature pattern to achieve the result you're after.
https://cad.onshape.com/documents/78929e8a7b78b5ec9527ce12/w/518ba61b0baf6e738e1719aa/e/9dc387f56c241655b639a29c
Hope that helps,
Owen S.
HWM-Water Ltd
Sorry, Owen S.
HWM-Water Ltd