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.
Can a variable in a Part Studio be used in an Assembly?
tim_paterson
Member Posts: 7 EDU
The documentation page for Variable Table (Part Studio) says:
A Variable table is created in a document and the variables therein are immediately available for use in all Part Studios and Assemblies in that document workspace.
But the only way I've found to use variables in an assembly is to use a Variable Studio. It does not seem to work with a variable in a Part Studio (as that documentation line specifically says it does). So is the documentation incorrect? And is there any easy was to transfer all the variables I already created to the new Variable Studio?
A Variable table is created in a document and the variables therein are immediately available for use in all Part Studios and Assemblies in that document workspace.
But the only way I've found to use variables in an assembly is to use a Variable Studio. It does not seem to work with a variable in a Part Studio (as that documentation line specifically says it does). So is the documentation incorrect? And is there any easy was to transfer all the variables I already created to the new Variable Studio?
0
Best Answers
-
NeilCooke Moderator, Onshape Employees Posts: 5,714Help is either wrong or misleading. You cannot copy variables, so you would have to manually re-enter them into a Variable Studio.Senior Director, Technical Services, EMEAI1
-
eric_pesty Member Posts: 1,947 PROYeah that's poorly worded... I think it's trying to point out that you can create a variable studio directly from within a part studio, which then becomes available across all assemblies and part studios.
But as you point out "regular" part studio variables are only available within the part studio itself.
0
Answers
But as you point out "regular" part studio variables are only available within the part studio itself.
1. Copy your variable table in Part Studio
2. Create or open Variable Studio.
3. Create a variable name, otherwise it doesn't work.
4. Click on variable name, don't double click to input! Cmd+v (Mac) to insert to table content.
Check my gif.
Hope this helps. Cheers
Thanks David_YL_Nguyen. Solved my problem moving part studio variables into a variable studio. Seems like "paste table" is not an unreasonable feature.