×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NX5 will not accept less than or greater than expression

NX5 will not accept less than or greater than expression

NX5 will not accept less than or greater than expression

(OP)
I am trying to create a conditional expression and find that using the less than symbol gives the following error:  Dimension mismatch (binary operation)
Attempt to use the "<" operation on the Length and Angle
Expression:  arm_angle = if(arm_length<100)(102)else(90)

This expression was taken right out of CAST.  It will accept the = symbol but not the < or > symbols.

Any help would be greatly appreciated.  Thanks  

RE: NX5 will not accept less than or greater than expression

I can't explain exactly why this works this way, but you can't mix units inside a logic command.  So the workaround is to create another Expression which has units 'Constant' equal to your Length Expression and then use THAT expression in the logic command.  I know it feels like a bit of a kludge, but it's the best that I can offer you.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: NX5 will not accept less than or greater than expression

(OP)
Thank you so much John.  I don't know how I missed making the arm_length expression constant in CAST.  It makes perfect sense now and worked out perfectly.  It's little things like this that really make NX overwhelming to some of us new guys.  I struggled for hours and even recreated the model several times before your help.  Again, thanks so much.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources