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.
"Smart" dimensions control
Is it possible to control dimensions values in sketch mode with link values, equations, global variables, variables, etc ?
The simple example would be to link two (or more) dimensions with a math formula (equation) so once you change one all others change following the formula?
For now I couldn't find the way to do it, but as I am a new user it is probable that I just don't have the right knowledge how to operate in Onshape.
Thank for answers and tips.
Best Answers
-
john_mcclary Member, Developers Posts: 3,938 PROYou will need to define your variable before using it in a scetch. There is no on the fly linking like solidworks.
Global variables are doable with featurescript. But only readable in partstudios.5 -
bradley_sauln Moderator, Onshape Employees, Developers Posts: 373These are 2 great tech tips to take a look at:
https://www.onshape.com/cad-blog/tech-tip-how-to-use-numeric-fields-in-onshape
https://www.onshape.com/cad-blog/tech-tip-parametric-variables-vs-configuration-variables
6
Answers
Global variables are doable with featurescript. But only readable in partstudios.
https://www.onshape.com/cad-blog/tech-tip-how-to-use-numeric-fields-in-onshape
https://www.onshape.com/cad-blog/tech-tip-parametric-variables-vs-configuration-variables
Twitter: @bradleysauln
OK, it is as I thought ...
It's a pity that there is no "on the fly linking" (like some other parametric CAD systems), as it is very powerful and elegant tool.
I just hope that it is not a decision but rather one of many things on Onshape's to do list and that we can reasonably hope to see it sooner rather than later.
Thanks for your replies.