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