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

"and" and "or" operators in Mechanism


"and" and "or" operators in Mechanism

I am using Mechanism 2, Release M080. I am writing a user defined function
expression for a Force/Torque definition. The operators that are available
include a "logical and" and a "logical or" operator. I cannot find
anything in the ProE WF2 Help Topic Collection - Mechanism Design
Extension that describes how these two operators can be used. I have a
possible application, but need to know how/when/where these two operators
can be used.

Any help would be appreciated.

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.


If your question is one of syntax, I believe you will be safe in using
standard paragraph () separations, placing your "and" and "or" operators in
between, without the quotation marks.

Randy Speed
President and CEO
Speed Consulting, LLC
2871 Howard Road
Waxahachie, TX 75165
(972) 938-0490 ph (972) 937-2319 fax


The logical following logical operators are used in Pro/E relations:

math operators: + - * / ^ ( ) =
functions: ln(), log(), abs(), ceil(), floor(), sqrt()
trig functions: sin(), cos(), tan(), asin(), acos(), atan(), sinh(),
cosh(), tanh() Note: The trig functions are always in degrees
logical comparison: & (and), | (or), ! (not)
logical equality: ==
inequalities: != (not equal), < (greater than), > (less than), <=
(greater than or equal), >= (less than or equal)

I think the operators would be the same for mechanism expressions.

Best regards,


Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.

NEW Creo+ Topics:
PTC Control Center
Creo+ Portal
Real-time Collaboration