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.

How to use a config variable to make more config variables?

Im making a 3d printed screw sorter. A screw sits on a disc and is rotated by a spinning head, until the end of the screw tips into the right sized hole and falls into a bin below. I want to be able to configure both the number of bins and the screw length of each hole. So I want the user to be able to first use a config variable to set the number of holes, then that number of configuration variables will come up and they can set each one to a specific hole length. Is this possible, is there a better way to do this altogether? Thanks

https://cad.onshape.com/documents/a2452910bc35217c2dcf21a0/w/e9daba66c722dd62880184d8/e/e068aae557b4ad3f6f600895?renderMode=0&uiState=692e05654c61af5d8eded305

Answers

  • jelte_steur_infojelte_steur_info Member Posts: 587 PRO

    With configuration visibility conditions, you can make the visibility of Lenght1…5 dependent on the value of bins.

    image.png
Sign In or Register to comment.