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.
Looking for a UI to control variable values.
daniel_morris
Member Posts: 1 ✭✭
I am building a model and need to experiment with various combinations of sizes (e.g. width, length, diameter etc.) Does anyone know of an app or other means by which I can control these variable values with a UI? For example I would like to have the ability to move a slider control to adjust the length and girth of my model to see the resulting changes without navigating to the sketch and adjusting the value each time.
Thanks in advance for your input.
Daniel
Thanks in advance for your input.
Daniel
0
Answers
You can change variables via the API. Ive been playing with this via an integration with Google Sheets that lets build a spreadsheet to drive these parameters. It iterates thru the variants and updates the model.
Setup a single variable that then drives the other variables. The other variables will be setup as arrays. #variable = [1,10,100][#variant_number]