Cancel
Showing results for 
Search instead for 
Did you mean: 

Expressions in Part Navigator

Legend
Legend

I have come across a file showing the expression in the Part Navigator. It only contains the ones that are changed most often.

 

I am aware of how to get to expressions (2nd pic), but I can not figure out how they are added to the Part Navigator (1st pic below).

 

expressions.pngexpressions_all.png

Glenn Balon
Production: NX 12.0.2 MP3 Primarily CAM
6 REPLIES

Re: Expressions in Part Navigator

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor

It's not an option in the Expression editor that you can turn on and off while creating or editing an expression.  Expressions that are manually created in the Expression Editor will appear in the User Expressions folder in the Part Navigator.

 

Per the documentation:

 

The User Expressions folder in the Part Navigator shows user expressions you have defined in your model.

You must create the expressions by choosing "Tools tab > Utilities group > Expressions". The expressions that you created without using this method do not appear in this node.

 

That said, an expression I created in a command "Width=75" (while creating a block) also appeared in the folder, as did typing "len=55" for a dimension value in a Sketch.  You can also enter "p100=len*Width" (where typically a command creates "p" expressions) and it will list it in the folder, because it's a user created expression, verses one created parametrically by a command.

 

Regards, Ben

Re: Expressions in Part Navigator

Valued Contributor
Valued Contributor

As I understand it, only expression variables you define (i.e. A=10, B=20, etc) are shown the Part Navigator. Expressions created as a result of defining dimensions (i.e. p1, p2, p3,...) are not.  So if you want to vary one of the p# expressions from the Part Navigator, define an expression and assign it to that variable (i.e. A=10, p1=A).

Re: Expressions in Part Navigator

Siemens Phenom Siemens Phenom
Siemens Phenom

@pkelecy wrote:

As I understand it, only expression variables you define (i.e. A=10, B=20, etc) are shown the Part Navigator. Expressions created as a result of defining dimensions (i.e. p1, p2, p3,...) are not.  So if you want to vary one of the p# expressions from the Part Navigator, define an expression and assign it to that variable (i.e. A=10, p1=A).


 

If you are certain about the p# expressions and features associated with it. Select the feature in the part navigator and look for the details. There you can change the p# expression values directly.

 

partnavi.PNG

 

 

Re: Expressions in Part Navigator

Legend
Legend
Thank you everyone for the help!
Glenn Balon
Production: NX 12.0.2 MP3 Primarily CAM

Re: Expressions in Part Navigator

Valued Contributor
Valued Contributor

Is there a way to hide the Expressions in Part Navigator at all?

If I use Product Template Studio, I can set limits on expressions defining geometry (for example defining the list of selectable values). These expressions can still be defined in Part Navigator (or Expressions window) to values violating the limits.

Thanks!

Re: Expressions in Part Navigator

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Just a FYI, in case you are interested in adding "me too" type ERs -

I created ER 9258197 - Add ability to Hide specific expressions in  the part navigator

 

Although in the ER text I did say "Show or hide"  (probably should have fixed the IR title to indicate both)

 

Full text:


o Short Description of desired enhancement:
I would like the ability to hide or show specific expressions in the Part Navigator.

o What activity in your process is NX not able to currently handle?

Currently all “user defined” (?) expressions are shown.  For novice users, I only want them editing SPECIFIC expressions.

o What result are you trying to achieve?

To filter the expression list to just ones the user should edit



o Do you currently have a workaround?

They could use the Expression Editor dialog, but there are so many expressions there, it can confuse novice users.



o Do you have a proposal for the solution you envision NX providing for this capability?

Add a column/field/toggle/checkbox in the Expression editor dialog to show/hide each expression
Default value (as expressions are created) can be what is currently done now.



o What is the level of productivity gained from such an enhancement?

For novice users this could make life much simpler – no need to use the expression editor dialog, and focus their concentration on the ones they need to edit.

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled