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.
What is the best way to find what dimensions rely on a specific variable?
Edited for clarity:
I have a variable defined in a Variable Studio, call it #width, that may be used somewhere in a document with a lot of part studios and assemblies. I do not want to look through the dimensions manually to find where this variable is used. I am looking for a way to search the entire document (or if not the entire document each part studio and assembly) for sketch dimensions or features that use this variable. Is that currently possible?
I found a possibly relevant improvement request that doesn't appear to have been implemented yet: https://forum.onshape.com/discussion/23931/find-global-variable-usages
Best Answer
-
While in a part studio, there is a "Show dependencies" option in the right click menu for a variable so that you can see what is using it down stream. This option is not available for Variable Studio yet. If it does come, it will probably be a button called "Where used", since variable studios can transcend the current document they are in.
▚▞▚▞▚▞▚▞▚0
Answers
-
In any dimension or any dialog box that needs your variable the start typing the name and a list will pop up to select from all available. The more you type the shorter the list will become. Variables can come from part studio or variable studio,
0 -
Say this variable #length is from a variable studio. If I use this variable in multiple different sketches across multiple part studios, how can you find what dimensions are driven by the #length variable?
1 -
While in a part studio, there is a "Show dependencies" option in the right click menu for a variable so that you can see what is using it down stream. This option is not available for Variable Studio yet. If it does come, it will probably be a button called "Where used", since variable studios can transcend the current document they are in.
▚▞▚▞▚▞▚▞▚0


