×
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

Fixing ranges in a part using Expression

Fixing ranges in a part using Expression

Fixing ranges in a part using Expression

(OP)
Hello all,
I need to fix the ranges of a feature in a part using expressions.

Eg: Lets say i have cube of 50x50x50 and i need to have a hole of dia 5 with the position which is within 50 on one of the face, if user enters value less than = 47, its acceptable or else, the system should through error.

Thanks in advance.

Regards,
Sundeep P.
Nx 7.5.0.32

RE: Fixing ranges in a part using Expression

You can add a requirement to an existing expression. Open the expression dialog, choose the expression of interest, choose the "new requirement" icon (see pic), and define the requirement.

www.nxjournaling.com

RE: Fixing ranges in a part using Expression

(OP)
Thanks cowski for this info.
But can you please elaborate a bit.

Example: I have generated a cube model (please refer the model & bmp image in zip file - cube), my requirement is, the length should be less than 120mm, if the user enters value more than 120, the system should not accept & it should indicate an error.
I do not use TC.

Regards,
Sundeep P.
Nx 7.5.0.32

RE: Fixing ranges in a part using Expression

If you really want a 'hard' limit to the value of an expression, in NX 7.5 your only real option is to build into the expressions some IF statements which would test and thus limit the values entered. Starting with NX 8.0, through the use of Attributes with predefined upper and lower limits, you could do it that way, but that capability is not in NX 7.5.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

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

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