×
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

Locking Expressions

Locking Expressions

Locking Expressions

(OP)
Can you lock expressions like you used to be able to do in the older versions of NX?

There used to be a padlock symbol that would prevent the user from accidentally modifying a formula.

RE: Locking Expressions

Would be much welcome...

RE: Locking Expressions

(OP)
I did find this post but I don't understand how he got the results he did:

http://www.eng-tips.com/viewthread.cfm?qid=309027

New Postjpetach (Computer)     
2 Nov 11 17:48

MPTatECT,

The attached part has one "input" expression, p1, a locked expression "my_locked_exp" that uses the input expression p1 as part of the formula. And it has expression p2 which uses "my_locked_exp as part of its formula.

my_locked_exp is a ug_expression KF child rule with lockRule set to TRUE.

In the Tools ->Expression dialog and in the Part Navigator the "my_locked_exp" is not editable.

The example expression is quite simple but it should meet the requirement for being able to define the expression to be used for a curve by equation where that expression is not directly editable but still can react to other expression edits.

http://files.engineering.com/getfile.aspx?folder=f87479c2-4521-42f4-99d6-45e0db6bebe2&file=NX75_locked_expression.prt

Hope this helps,
Joe

 

RE: Locking Expressions

(OP)
Can someone explain:

"ug_expression KF child rule with lockRule set to TRUE"

Thanks!

RE: Locking Expressions

Joe used KF to write a new Expression Function which allows for an expression to be locked.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

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

RE: Locking Expressions

I thought the padlock (available using the 'old' expression dialog) only 'locked' the expression from being used as an interpart expression.

You still see the padlock in files containing interpart expressions.

NX 6.0.5.3 (NX 8 Testing)
Windows 7 64

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