×
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

Creating Dynamic Rule in KF

Creating Dynamic Rule in KF

Creating Dynamic Rule in KF

(OP)
Hello

I am very new to KF. I would like to create rule in KF in such a way that some action should be done in the geometry when rule is not passed.

For Example: if parameter X>10 then Length of block should be changed to 100. If x<10 then i need to display an informative window in NX session.

How can i make this kind of Rule in KF.

Please help me.

RE: Creating Dynamic Rule in KF

What version of NX are you running?

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: Creating Dynamic Rule in KF

(OP)
Hello John,

I am using NX 7.5 and 64bit

Thanks and Regards
 

RE: Creating Dynamic Rule in KF

OK, doing the if X>10 some other value is 100 is easy in the expression system using and 'IF' function.  And as for the getting some sort of notice if it less than 10, have you looked at 'Requirements'?  They can be set from within the Expression dialog where you can generate different levels of warnings based on setting up some logical item to check, such as an expression being less than some value.  To see to use this open the Expression dialog, create some expression you want to hang a requirement on and then select the icon along the bottom of the dialog that looks like a green triangle with a yellow check-mark next to it.  If you open the 'New Requirement' dialog, simply press the 'F1' key and you will get the help file which explains how to use the 'Requirement' function.  If this works for you, it sure beats having to write code.

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.
 

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