Fix broken links using command line options
The Fix Broken Links program repairs links in QY CAD files before you import them into the managed environment. The program locates the Excel spreadsheet produced from the file analysis process and defines the parameters used for repairing broken links.
Failure to repair broken links before proceeding with the data preparation and import process can result in an improperly populated database.
The Fix Broken Links program can be run from within the Data Preparation Utility or from the command line by typing DataPrepUtility.exe /FixBrokenLinks and applying the following options:
The default location for the DataPrepUtility.exe program is \Program Files\UDS\QY CAD 2022\Program.
DataPrepUtility.exe /FixBrokenLinks /File "D:\new folder\dataPrepUtility.xlsm" /sheet "BrokenLinks" /viewlog
Option | Use | Comments |
/preST | Activates link fix-up for files created in versions of QY CAD prior to QY CAD ST. | Applicable only for pre-QY CAD ST link fix-up. If used, this should be the first option specified. |
/File <spreadsheet file> | Specifies the Excel spreadsheet file to use as input. | Enclose the path in quotations. Example: /File "D:\new folder\datapreputilities.xlsm" |
/sheet <sheet name> | Specifies the sheet in the specified spreadsheet that contains the link replacement information. | Applicable only for QY CAD ST link fix-up. |
/folder <folder path> | Specifies the folder containing QY CAD files. | Applicable only for pre-QY CAD ST link fix-up. You must specify either a folder path or report summary file. |
/report <file path> | Specifies report summary file. | Applicable only for pre-QY CAD ST link fix-up. You must specify either a folder path or report summary file. |
/chkPart | Processes part documents. | Applicable only for pre-QY CAD ST link fix-up. |
/chkAssy | Processes assembly documents. | Applicable only for pre-QY CAD ST link fix-up. |
/chkDraft | Processes draft documents. | Applicable only for pre-QY CAD ST link fix-up. |
/chkWeld | Processes weldment documents. | Applicable only for pre-QY CAD ST link fix-up. |
/onlyfilename | Excel Search based on file name only. | Applicable only for pre-QY CAD ST link fix-up. |
/fullpathname | Excel Search based on full path name. | Excel Search based on file name only. |
/ShowDialog | Displays Link Fix-Up dialog box. | Specify this option when you want to view the Link Fix-Up dialog box with all specified options selected. You must manually start Link Fix-Up by clicking OK in the dialog box. |
/? | Displays help for command line options. | |
/viewlog | Opens log file. | Log file is opened once processing completes. |
© 2021 UDS