Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape, CAD, maker project and design.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.
Multiple Variables in Single Expression
So I was trying to confine the dimensions of a box I made with variables, so that the whole box will regenerate with target values by changing any one of the variables. Normally this would be easy, using just x,y, and z vairables. However, the dimensions I wanted to input outside the sketch were for the object entering a slot inside the box, so to change the overall dimension to the right size I added a variable for tolerance (that I could change later if the slot didn't fit) and then tried to make to make a composite variable that represented the whole length of the slot(): 2#tol + #length (naming arbitrary). Sometimes using 2 variables does work, but for the most part the computer doesn't recognize it as an expression. And this problem works with any name I could think of, single letters or long words. Going into the forum, tutorials, or otherwise, no one seems to have tried using this. How can I achieve making a CAD that changes itself to specifications just by editing the global variables, without using more than one variable?