You can change component file names directly from the FeatureManager design tree.
You can update references to the renamed files in unopened documents at the same
time.
If you want to change file names for many components, consider using
Pack and Go. See
Pack and Go Overview.
Before you begin:
To enable renaming, click .
To change a component file name:
-
In an assembly, in the FeatureManager design tree, do one of the following for the component whose file name you want to change:
- Click-pause-click the component.
- Right-click the component and click Rename Assembly
or Rename Part.
- Select the component and press F2.
-
Enter a new name and press Enter.
- In the dialog box, select Temporarily rename document and, if prompted to rebuild, click Yes.
The file name of the component changes in the SOLIDWORKS software, but
is not changed in the Windows file system. Any open documents that reference the
renamed file are updated in the SOLIDWORKS software to reference the new file
name.
- Save the assembly.
In the
Rename Documents dialog box, you receive
warnings of the following items:
- Files that are temporarily renamed in the SOLIDWORKS
software are renamed permanently in the Windows file system.
- Other open documents that reference the files being
renamed are updated in the Windows file system.
- References are broken in closed documents that reference
the renamed files unless you select Update where used
references and specify which documents to update.
-
(Optional.) To avoid broken references in documents that are
not open:
-
Select Update where used
references.
The dialog box expands.
-
Specify the folders to search for documents to
update.
Option |
Description |
File
locations |
Lists the folders
to search. Click Add Folder
to browse for folders to add to the search. To
remove a folder from the list, select it and click
Remove. |
Include
file locations - Referenced Document
folders |
Specifies to
search the folders listed under
Referenced Documents in . |
-
Click Search.
Results are listed under Update where
used references. By default, all items are
selected.
-
Clear items that you do not want to update.
|
State |
Description |
|
Selected |
Items update to
reference the new file name. |
|
Cleared |
Items continue to
reference the old file name. |
- Click OK.
The component file is permanently renamed.