×
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

NX9 - Sketch - Expressions with Logical

NX9 - Sketch - Expressions with Logical

NX9 - Sketch - Expressions with Logical

(OP)
Is this possible in Sketch ?
Example : p10=2 if p3<100 and p4>2

RE: NX9 - Sketch - Expressions with Logical

(OP)
and second question : validate an Input, I mean, for example p10 can take values only between 1 and 4

RE: NX9 - Sketch - Expressions with Logical

Quote (iucu)

Is this possible in Sketch ?
Example : p10=2 if p3<100 and p4>2

In this case, the formula for p10 would be:

CODE

if(p3<100 && p4>2)(2)else(0) 
Supply your own value for the "else" case.

Search for "expressions syntax operators" in the help for a full list.

www.nxjournaling.com

RE: NX9 - Sketch - Expressions with Logical

(OP)
I can not find the syntax operators in Help NX
Where is for example If syntax.
Or integer of p1

RE: NX9 - Sketch - Expressions with Logical

iucu:

The Expressions section in the NX Docs is here:

https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_help#uid:index_modeling:expressions_exp_ov

There are links on the right to a bunch of good sub-topics, including Conditional Expressions:

https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_help#uid:index_modeling:expressions_exp_ov:expressions_exp_syntax_conditional

Taylor Anderson
NX Product Manager, Knowledge Reuse and NX Design
Product Engineering Software
Siemens Product Lifecycle Management Software Inc.
(Phoenix, Arizona)

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