Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Dimensions using literals and variables

GIZMOGIZMO Member Posts: 11
Specifying literal numbers in a dimension equation also using variables generates an error:

(((5-(#Pipe2halfs40OD/2))/2)+(#Pipe2halfs40OD/2))   <===== Invalid expression error

Changing the literal number "5" followed by a minus sign into a variable with the value of "5" is considered a valid expression, and gets the right answer = 3.219


where #Pipe2halfs40OD = 2.875 and #Five = 5

ie, it accepts a literal number associated with a divide "/" (and I assume multiplication "*"),
but not with simple subtraction "-" (and I assume addition "+").


Sign In or Register to comment.