@bergie5737,
I'm fairly certain that nothing has changed here in a very long time. What you are seeing is related to units and value. A sketch dimension requires that the value be expressed in some length unit (cm, mm, in, ft, etc). The value in that text entry box must be either a number (in which case the default unit for the design is tacked on), or have a unit which is a length measurement. So, these are valid entries:
- "1"
- "20"
- "5 in"
- "4.34 cm"
Further, for sketch dimensions, the value must be a positive number to be valid. You cannot type in "-3" for a sketch dimension.
So, think about the unit expressions in your examples. Looking at your design, both "slot_gap" and "slot_length" are distances, slot_gap's value is "10 mm", and slot_length is "40 mm". So, think from a unit and value perspective how various expressions are evaluated:
- "slot_gap + slot_length" is "10 mm + 40 mm", which evaluates to "50 mm", which is valid
- "slot_gap - slot_length" evaluates to "-30 mm". The units are valid, but the value is not. Subtraction works, but in this case the value is invalid. "slot_length - slot_gap" is perfectly valid
- "slot_gap * slot_length" evaluates to "400 mm**2", which is not a measure of length, but of area, which is invalid. Note that you can make this work by just fixing up the units. We need to divide by 1mm to get rid of the mm**2 units. So, "(slot_gap * slot_length)/1mm" would evaluate to "400 mm" and be valid
- "slot_gap / slot_length" evaluates to "0.25". Note that the units have been canceled out, but as above, the document units are tacked on to simple numbers, so this is interpreted as "0.25 mm"
Hope this explanation makes sense
Jeff Strater
Engineering Director