RENAMING DWGs - PROCEDURE
This procedure is only useful when you:
are exporting multiple sheet views (not a single view)
are only exporting Sheet views (not normal views)
don't want separate CAD xref files
Revit uses its own method for naming DWG files, which invariably never suits what we require.
If you are exporting multiple single sheets you end up having to rename them all.
This describes a method that renames files after they are exported.
This will not work unless the method has been set up for your project. Refer to SET UP PROCEDURE.
1. Decide or find out which folder your DWGs will be exported to
You need to know where your DWGs are going to be.
If you are going to set it when exporting make sure the folder exists.
You may want to clean old DWGs out of the folder (not necessary but might be less confusing).
2. Export the Revit Schedule
From within your Revit project, via the Project Browser, open a schedule called Z_RenameDWGList.
Export the schedule: from the Application button (R in top left corner) select Export>Report>Schedule.
Keep the default name Z_RenameDWGList.txt, browse to where your DWGs live, or are going to live. Just say OK to overwrite existing file.
In next dialog box leave defaults as is, just click OK.
3. Export your Sheets
Export the DWGs: from the Application button (R in top left corner) select Export>CAD formats>DWG files.
Select the sheet views you want to export (it must be more than one sheet).
Change the DWG Properties if desired.
Pick Next... button.
Make sure Naming is set to Automatic - Short.
Make sure Xref views on sheets is NOT ticked.
By default the File name/prefix: box will be grayed out. Each sheet's Sheet Number will be used as a name.
Browse to the folder where you want the DWG files to end up.
Click OK.
4. Rename the DWGs
Wait for Revit to finish exporting.
Place a copy of !RenameRevitDWG.bat in the same folder as !RenameDWG.txt and all your new dwg files.
!RenameRevitDWG.bat can be found in S:\Revit Settings\Batch Files.
Double click on !RenameRevitDWG.bat. Follow the prompts (if there are any).
Done!