×
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)
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

RE: Locking Expressions?

If the input is separate from the equation, do you still need to lock it? Is the goal to prevent unintentional edits or is it to hide proprietary data?

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.

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

Hope this helps,
Joe

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