When you run the utility using the Windows Task Scheduler or the command prompt, you can repair and report drawings in projects from different sites. However, before running the utility, you must provide the necessary site, plant, and project details in an Excel file format.
-
For a plant with projects, such as an as-built plant, the plant and project names are different. If the plant does not have any projects, enter the plant name in the plant and project columns. The plant and project names that you enter in the Excel file are case-sensitive.
-
The Clean Data utility only runs if a license is available.
-
Except gaps, the utility repairs and deletes orphaned model items and OPCs.
Create the Excel file
-
Open Microsoft Excel on your computer.
-
In the first row, create the INI file path, plant, and project column headers.
-
In the Excel sheet, fill in the rows with the necessary details for each project that you want to analyze.
-
Save the Excel file in a location of your choice.
Run the Clean Data utility
-
Open a command prompt window.
-
Navigate to the DelMorpItemsConsole.exe file location.
-
Type the following command:
DelMorpItemsConsole.exe "[Excel file path]"
Replace [Excel file path] with the actual path. For example, DelMorpItemsConsole.exe "C:\Users\Documents\MyExcelFile.xlsx"
-
Press ENTER.
For information on the repair and cleanup process status, check the log files located in the %temp% folder. The SPDelOrpModItems.log file contains general log messages, whereas the DBCleanup_[project name].txt file contains log messages about deleted orphaned records.