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


