cancel
Showing results for 
Search instead for 
Did you mean: 

Updating component attributes regardless of the Display Part

Creator
Creator

Is there a way to update component attributes is such a way that the update will show up regardless of what I change "Make Display Part" to?  I can get the attributes for the current Display. Here I have update all components with a part number of *-99879* with finish, finish spec and finish color

2015_05_21_07_50_25_NX_9_Modeling_99999_99879_BOM_1.0_WITH_BOM2.0_DETAILS_Modified_.png

Now when I change the display or "Make Display Part on *-99879-1 those changes no longer show

2015_05_21_07_56_05_NX_9_Modeling_99999_99879_1_BOM_1.0_WITH_BOM2.0_DETAILS_Modified_.png

I would think that these part attribute updates would show regardless of there display part. Currently I'm using SetUserAttribute.  I think this is a little clearer than my last post.

3 REPLIES

Re: Updating component attributes regardless of the Display Part

Esteemed Contributor
Esteemed Contributor

If you apply the attribute to the component, you are applying it to the instance in the displayed parent assembly.

 

To have an attribute visible at any level in the assembly, it must be a part attribute, which gets inherited by any assembly level.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: Updating component attributes regardless of the Display Part

Creator
Creator
while navigating through the assembly tree is there a way to determine if the child is a part?

Re: Updating component attributes regardless of the Display Part

Esteemed Contributor
Esteemed Contributor

If you walk the assembly tree you always retrieve components (occurrences), not parts.

The part is the prototype of a component.

 

The SNAP programmers reference has a good explanation of the assembly scheme, so I recommend you give it a read.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community