Scale List Cleanup Utility
This utility repairs a problem with files that contain excess scales.
When a file contains excess scales, performance may be negatively affected. Eventually, the file may become unusable. To use the file, some scales must be removed. This utility repairs affected files by removing excess scales.
NOTE: Nested external references (xrefs) may produce excess scales. The Scale List Cleanup Utility repairs files affected before AutoCAD 2008 Service Pack 1 or the corresponding service pack for an AutoCAD-based product was installed.
This utility is applicable to the following products:
- AutoCAD® 2010-based products, including DWG TrueView™ 2010
To install the Scale List Cleanup Utility
You must have administrative privileges on your Microsoft® Windows® operating system to complete installation.
- Based on your product version (32-bit or 64-bit), download the appropriate self-extracting executable file.
- Select a folder.
- Extract files to the selected folder.
- Navigate to the folder and copy CleanupScales.exe, CleanupScalesRes.dll, and CleanupScales.html to the installation directory of your AutoCAD-based product.
NOTE: To run this utility you must launch CleanupScales.exe from the installation directory of your AutoCAD-based product.
To repair affected files
- Close all affected files. Open affected files will not be repaired.
- Launch the Scale List Cleanup Utility from the installation folder of your AutoCAD-based product.
- Under Files to Clean, select affected files.
- If desired, select Maintain Visual Fidelity for Annotative Objects.
NOTE: This option allows you to maintain visual fidelity for annotative objects when they are viewed in AutoCAD 2007 or earlier releases and corresponds to the SAVEFIDELITY system variable. Annotative objects may have multiple scale representations. When you select this option, annotative objects are decomposed and scale representations are saved (in an anonymous block) to separate layers, which are named based on their original layer and appended with a number.
- Under New Scale List, in the drop-down list, select a scale list template.
NOTE: Each scale list template contains a different scale list. When you run this utility, unused scales are deleted from files and the scale list from the selected template is applied.
- If desired, change the scale list threshold.
NOTE: The scale list threshold determines the minimum number of scales a file must contain in order to be repaired. The default scale list threshold is 50. Files that contain fewer scales than the scale list threshold will not be repaired. To change the scale list threshold, on the New scale list panel, enter a number in the Scale List Threshold field.
- Click OK. Repaired files are saved in the same format last saved in.
To clean affected files unattended from the Command prompt
To clean files unattended from the Command prompt, you can run the Scale List Cleanup Utility using a BAT file. To display Command prompt examples for cleaning affected files unattended, enter CleanupScales.exe /? at the Command prompt.
NOTE: Files are cleaned using the last settings specified in the Scale List Cleanup Utility dialog box. If you have not modified settings in the Scale List Cleanup Utility dialog box, files are cleaned with the default settings.
- Close all affected files. Open affected files will not be cleaned.
- At the Command prompt, enter CleanupScales.exe /C <name of the folder you wish to clean> /T <name of the template file to use>. For example:
CleanupScales.exe /C M:\Projects /T “C:\My Templates\acad.dwt”
Cleaned files are saved in the same format in which they were last saved.