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?
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?
RE: closing multiple parts by attribute?
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?
RE: closing multiple parts by attribute?
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?