×
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

closing multiple parts by attribute?

closing multiple parts by attribute?

closing multiple parts by attribute?

(OP)

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.

RE: closing multiple parts by attribute?

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.

RE: closing multiple parts by attribute?

(OP)
thanks John that's kind of what I expected. "Simple" is a relative term, any pointers on where to begin? training/documentation?

RE: closing multiple parts by attribute?

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.

RE: closing multiple parts by attribute?

(OP)
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.

RE: closing multiple parts by attribute?

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.

RE: closing multiple parts by attribute?

(OP)
THANKS JOHN! This is exactly what I needed. It works perfectly!

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