Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locking Expressions

Status
Not open for further replies.

ingallspw

Mechanical
Mar 17, 2009
178
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.
 
Replies continue below

Recommended for you

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


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.


Hope this helps,
Joe
 
Can someone explain:

"ug_expression KF child rule with lockRule set to TRUE"

Thanks!
 
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
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor