Locking Expressions?
Locking Expressions?
(OP)
Is anyone aware of a way to lock an expression in NX 7.5 so that it is not editable. For example:
Lets say you want to use an equation to create a curve (parabola, circle, etc...). You want the expression which has the formula to create the curve to be locked and uneditable, but you still want to be able to edit the input variables (separate expressions).
Any ideas?
Thanks
Lets say you want to use an equation to create a curve (parabola, circle, etc...). You want the expression which has the formula to create the curve to be locked and uneditable, but you still want to be able to edit the input variables (separate expressions).
Any ideas?
Thanks





RE: Locking Expressions?
My first thought was using a separate file for your equation expressions and using inter part links to reference them into your work file, but I'm not sure that will get what you want.
RE: Locking Expressions?
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.
h
Hope this helps,
Joe