Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

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.

pins feature script - could someone check it?

maciekmaciek OS Professional Posts: 29 PRO

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

Comments

  • GregBrownGregBrown Member, Onshape Employees, csevp, pcbaevp Posts: 297
    edited March 31

    You'll need to increment i, probably at around line 109 or so? Just insert i+=1;

    But you'll also need remove the "MaxNumberOfPicks" : 1 in line 33 to make it work for multiple vertex selections

  • maciekmaciek OS Professional Posts: 29 PRO

    Thanks, it works

Sign In or Register to comment.