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.
Simple + and - in an equation. Why doesn't this work?
todd_hammer272
Member Posts: 2 ✭
in General
I'm trying to use a simple + in a dimension equation and its not working.
I've set a variable #thickness
My simple equation I'm putting in a dimension: #thickness+.03
The following works: #thickness/2
+ and - doesn't seem to work.
What am I doing wrong?
Thanks in advance.
I've set a variable #thickness
My simple equation I'm putting in a dimension: #thickness+.03
The following works: #thickness/2
+ and - doesn't seem to work.
What am I doing wrong?
Thanks in advance.
Tagged:
0
Comments
#x+#y works but #x+1 gives an error.
That was unexpected. Been using calculated dimensions a fair bit but only with variables.
@todd_hammer272
If you use #thickness + .03mm and give the 0.03 value units, it will work.
IR for AS/NZS 1100
Just checked what happens when "number" is used for variable instead of "length" and the problem goes away.
Current system units are placed for the whole result. #X+1 becomes (#X+1)mm in a dimension.
I find that having units helps me get correct logic...
IR for AS/NZS 1100
Don't you know if its possible to use parameters as part of equation for another parameter?
Example: