We want to change the File > Open location for NX10. Currently, NX will go to the last place that a file was opened from. This is written in the registry here:
This key is written at File > Exit from what I can tell. When I open multiple parts, from multiple locations the UG Native Part Name 1 (2, 3, 4..) and UG Native desc name 1 (2, 3, 4..) change accordingly with the 1 version being the last part that I did a File > Open operation to.
If I wipe out this key and restart NX, I still go to the last directory I opened a file from.
Is there a way to control this? I launch NX using a batch file setting some variables on launch.
The file open location is remembered by Windows not NX directly.
It doesn't have anything to do with the recent files list you found in the registry.
I don't think it will be easy to control this.
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
You can set the customer default -> Gateway -> General -> Directories tab -> Part File Directory. But this will only work for the first time you open the part when NX session is started.
I thinkg other option is to use the user exit when File->Open is selected. You can write a routine using UF_UI_set_dialog_directory(UF_UI_PART_DIR, "X:\\"). This will set the directory for the File->Open dialog to X:.