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.
pins feature script - could someone check it?

Hi,
I made a simple featurescript which makes holes for pins. This code is based on another feature script, but after my modifications it doesn't work.
Can someone look at it? Thanks
https://cad.onshape.com/documents/7885d89fd6ec3627369211b5/w/2607ea11c0a7be49338866ec/e/378d4212adbdd68ac5b3ad02
0
Comments
You'll need to increment
i,
probably at around line 109 or so? Just inserti+=1;
But you'll also need remove the
"MaxNumberOfPicks" : 1
in line 33 to make it work for multiple vertex selectionsThanks, it works