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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

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

WayneSchrock
12-Amethyst

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Top Tags