Adding a check to an expression
Adding a check to an expression
(OP)
How do you set a limit of travel for an expression in NX10. I have an expression that needs a limit of +.375 to -.375.
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
Adding a check to an expression
|
Adding a check to an expressionAdding a check to an expression(OP)
How do you set a limit of travel for an expression in NX10. I have an expression that needs a limit of +.375 to -.375.
Red Flag SubmittedThank you for helping keep Eng-Tips Forums free from inappropriate posts. Reply To This ThreadPosting in the Eng-Tips forums is a member-only feature.Click Here to join Eng-Tips and talk with other members! |
ResourcesThe world has changed considerably since the 1980s, when CAD first started displacing drafting tables. Download Now
Prototyping has always been a critical part of product development. Download Now
As the cloud is increasingly adopted for product development, questions remain as to just how cloud software tools compare to on-premise solutions. Download Now
Engineering-centric businesses face a number of challenges today, but unmanageable design and change processes don’t need to be counted among them. Download Now
|
RE: Adding a check to an expression
CODE
The above expression formula will check the value of an expression named "input" and will constrain the output.
www.nxjournaling.com
RE: Adding a check to an expression
The easiest way is to select an expression, and choose "Add a Check" from the MB3 menu.
If you've not previously created any requirements in your part, choose "Create New Requirement", and fill out the form:
You can choose a severity here (Error, Warning or Information) and choose from several ways of defining the requirement. Note that the requirement is formulated as a positive statement of what the value should be, as opposed to a description of the bad case.
Once you press APPLY in the Expressions dialog, the check will start to give graphical feedback in the expressions dialog:
...and in the Part Navigator:
This requirement and accompanying requirement check can also be examined, edited, etc. in the Requirements Validation HD3D tool:
...and if the expression is directly related to some geometry on the screen (feature parameter, or measurement expression, for instance) then it will automatically start to add HD3D tags to the screen whenever the Requirements Validation tool is active:
...and if it's not directly related to some geometry on the screen yet, you can tell the tag where you'd like it to appear when things go wrong:
And yeah, there are many more cool things you can do with this.
And last but not least, you'll be pleased to know that no extra licenses are required, either... This is all part of base NX.
Does that help a bit?
Taylor Anderson
NX Product Manager, Knowledge Reuse and NX Design
Product Engineering Software
Siemens Product Lifecycle Management Software Inc.
(Phoenix, Arizona)
RE: Adding a check to an expression
RE: Adding a check to an expression
Taylor Anderson
NX Product Manager, Knowledge Reuse and NX Design
Product Engineering Software
Siemens Product Lifecycle Management Software Inc.
(Phoenix, Arizona)