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!

closing multiple parts by attribute? 1

Status
Not open for further replies.

BRENTA

Industrial
Feb 2, 2011
8

Hello all,
I often have the need to send native or parasolid files out to suppliers, but without proprietary information. Is there a way,while in an assembly, to close multiple part files at once by attribute, expression, or other? I was hoping there was a way to close parts in a similar way as suppression by expression. As an example I was thinking if I created an attribute named “proprietary” with a value of “yes” could I close all parts by “if proprietary=yes then close”. Thanks for any suggestions or work-arounds.
 
Replies continue below

Recommended for you

You should be able to write a simple NX Open program to do that.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
thanks John that's kind of what I expected. "Simple" is a relative term, any pointers on where to begin? training/documentation?
 
Now were you looking for an automatic means, or just something to make it easier to do manually?

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
The more automatic the better. I'm all for getting my feet wet with nx open if I can convince my higher ups it's worth the time.
 
OK, here's a manual assist way of doing it. You mention you'd like to add an attribute to those parts which are 'proprietary', like 'PROPRIERTARY = YES'. OK, do that.

Now open your assembly and go to the Assembly Navigator and ove some 'white space' press MB3 and toggle ON the 'Show Componnt Groups' option. Now at the top of the Navigator there should be two items dealing with Groups. Select the one labeled 'Component Groups in Part', press MB3 and select the 'Add to Component Group...' item. When the dialog opens, select the 'By Attribute' tab and enter in the 'Name' field 'PROPRIETARY', leave the next field set to '=' and then enter 'YES' in the 'value' field and then hit OK. Now go back to the Assembly Navigator and you should should see an item under the 'Component Groups in Part' item titled 'New Component Group'. If you would like, you could select it, press MB3 and select the 'Edit' option and change the name to 'Proprietary' to make it easy to find (you can collapse this group it's not necessary to see the filers that have been included in the group). At this point you should save your Assembly.

OK, now if you want to 'Close' all of the 'Proprietary' Components, simply select the newly named 'Proprietary' group, press MB3 and select Components -> Close -> Part. Now all of the Components which had the Part Attribute 'PROPRIETARY = YES' assigned to them will have been CLOSED.

I know it's not fully automatic but once you've got it set up, it's pretty easy to use.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
THANKS JOHN! This is exactly what I needed. It works perfectly!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor