Well, if this is a one-time only issue, your easiest approach would be to go into the expression system and at the top of the dialog you will find an icon labeled 'Export Expressions to File'. Select that icon and enter a file name and hit OK. Now open this file using a regular text editor and then using the normal 'replace text' utility replacing all occurances of the text string showing the old file path with the new one. Now save this edited filed and then go back in NX open the Expression dialog again, find the icon labeled 'Import Expressions from File' (it will be next to icon you selected in the steps above), select it, browse to where the edited text file is, select it and hit OK. Now hit OK to accept and close the Expression dialog and you should be good to go.
Now if this is something that is going to be a common issue with you, then perhaps a little preplanning would be worth your time and effort.
The easiest of these approaches would be to create a String Expression equal to the path to the folder where the spreadsheet is located and then use this variable in all of your expressions which referencs the spreadsheet, as shown below:
Now all you have to do is edit a single expression, 'sheet', to change the paths to all of the other expressions.
Now if you want to get really elegant, and you're doing this all of the time and you's like the files to always be correct no matter where you moved the part files to, try this scenario:
Create a folder somewhere where you will place ALL of the spreadsheets which will be referenced by any of your part models and let's say the path to this folder is
'D:\User_files\Spreadsheets'. Now create a unique Environment Variable in your system or user profile similar to (be sure to include that last '\'):
NX_SPREADSHEETS=D:\User_files\Spreadsheets\
Now whenever you create a Part file where you're going to be using one of the spreadsheets in this common folder, just create an expressions which references this Environment Variable (you could pre-define this expression in you modeling templated is you wish) which will now look like:
Now no matter where the part files are located as long as the spreadsheets remain in that same common location, you should be good to go.
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.