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 variables do you set up often?
I'm writing a feature that makes it easier to call variables that I create often in many projects, and figure I should make it more widely usable if I can. Most of my common variables are related to Design for Manufacturing (DFM). For example, I do a lot of plastics, so things like #nominal_thickness, #rib_thickness, #main_draft, #min_draft, _#shutoff_draft, etc. It would be different for CNC or laser cutting or sheet metal. What variables do you find yourself writing over and over again?
Evan Reese
0
Comments
- between document tabs, or even better
- between documents?
That would be fabulous. I don't know if this would be possible to implement in Onshape yet.https://cad.onshape.com/documents/9e1fae833b03bb1aed93665e/v/c6ee4da8540cba1af3ebcf43/e/779aedaeebf19154364cb0f5
When the variables are buried in the feature, they feel less visible.
As a tangent... I've avoided using variables in Solidworks because if you delete a feature or sketch which is hooked up to the variable, it doesn't handle that in a very friendly way. What's your thought on where Onshape's variables work well, and where they fall down?
It's a repetitive task to set up and name them, I like the naming convention consistent across our team, it doesn't have relevant default values, and I don't like having to edit each variable one feature at a time. If I'm modeling 2 plastic parts in one studio, I usually like to have separate variables for that one too, so I can change them independently later. I get what you're saying about them being a bit less visible, but I usually have them in a closed folder anyway. A double click to edit the feature doesn't bother me. By "start part" do you mean a tab that's already got this set up that I just copy as a template? Might be the Ikea effect at work here, but I'd still prefer this custom feature over that workflow. I'm sure there are plenty of ways to solve this problem (which is already fairly mild, as problems go).