cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Make relations "evaluate function" return results based on parameter units or give a new function that does.

Highlighted
Level 9

Make relations "evaluate function" return results based on parameter units or give a new function that does.

Current functionality as defined by PTC R&D as works to spec: https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS124642

Example

Given parameter name LENGTH defined as unit "in" in a part that have system units in "mm". If LENGTH has a value of 2 and you use the Evaluate Expression tool with relations the result returned is 50.8. I would prefer the result to be 2. As shown in figure below thou relations themself act different.

Notice relation

          if length * 10 == 20

          1 == 0\

           /* Stop Regeneration if length * 10 = 20

          endif

has a Constraint violation. Because 2*10 does equal 20.

 

length.GIF

 

The system units for ANGULAR parameters are Radians, hense when you evaluate the result is in Radians regardless of parameter unit.

 

This makes it very difficult to evaluate complex expressions to determine if what you have done is correct or not.

Please vote for this enhancement idea.

Tags (2)