Finally, here is version 1.2 of the NX Switch Part tool which includes all feature enhancements and bug fixes requested by the posters.
Among the highlights, now it's possible to control the display of parts with attribute values as well as search against criteria such as part name, attribute and part state.
Version 1.2 change log:
Added options dialog box
Added option for packed/full listing
Addded option for item text (part name and up to 3 attribute values)
Added search dialog box
Added search option for part states (open, suppressed, closed, hidden)
Added search option for part name and attributes
Added method to open displayed part in Windows Explorer
Added statusbar with option to change listing view between Standard and Search
Added tooltips to show full path for each part
Added bold font for current display part
Faster startup time for large assemblies
Fixed bug where the tool would freeze for large assemblies (thousands of parts)
Fixed bug where the tool freezes in No Part mode
Fixed bug where some assemblies would get mixed up when multiple separate assemblies are open
Fixed bug where NX would freeze when switching to a non-manufacturing part in the Manufacturing application
Notes:
A file containing options will automatically be created in the path set in the journal file.
Access the menu by right-clicking anywhere in the window.
The options applies to both Standard List and Search List.
The tool might freeze when searching large assemblies where the search results in thousands of parts. Moog2, please test for me!
Tested with NX 8.5 native, Win 7 SP1, .NET framework 4.5
HOW TO INSTALL:
Download the attached "NXSwitchPart_1_2.rar" and extract (keep all files together in the same folder)
In NX: Customize ...> New User Command. With the new button, set Default style. Edit Action: Type: Journal File, browse to the vb file.
Change button image > image name. Browse to the Window_sc.bmp file.
Use notepad to replace the path in the beginning of the journal (vb) file with the folder with the journal file and image files.
As always, if there are bugs or feature requests, let me know
PREVIEW IMAGE:
ICON & JOURNAL FILES:
NX8.5 Win7SP1 64bit i7-3770K@4.3Ghz 16GB Quadro2000