Analyze QY CAD files using command line options
QY CAD file analysis can be performed from within the Data Preparation Utility or from the command line by typing \Program Files\UDS\QY CAD 2022\Program\DataPrepUtility.exe /viewproperties and applying the following options:
DataPrepUtility.exe /viewproperties /tc /folder "D:\folder path" /Sort /ShowCSVFile /viewLog
Option | Use | Comments |
---|---|---|
/tc | Prepare data for Teamcenter. | Choose /tc. If no option is specified, data is prepared for the unmanaged environment. |
/folder <folder path> | Specify the path of the folder to analyze. | By default, the option to analyze files from a specified folder is selected and folder path is considered. If <folder path> is the only argument specified, then /folder option is not necessary. |
/DryrunXML <xmlfile> | Analyze data from Add to Teamcenter dry run. | Specify either /DryrunXML or /DryrunCsvOrText followed by the file path. In the case of a conflicting parameter, the program uses the second parameter. |
/DryrunCSV <csv/text file> | Analyze data from Add to Teamcenter dry run output CSV file path. | |
/BrokenLinkAnalysis | Performs broken link analysis. | Applicable only if analyzing from a folder path. This option is ignored when used with other options. |
/CrawlLinks | Crawl links to build a complete list of QY CAD files to be imported. | Applicable only if analyzing from a folder path. |
/Sort | Specifies that you want the Excel spreadsheet sorted. | |
/report <reportfile> | Specifies the name of the report file. | If name is not specified, the default report file AnalyisOfSolidEdgefiles.txt is created in the folder path specified with /folder option. |
/ShowDialog | Displays Analyze Files dialog box. | Use this option when you want to see the Analyze Files dialog box with all specified options selected. You must manually start the analysis by clicking OK in the dialog box. |
/ShowCSVFile | Opens output CSV file. | |
/saveCSVfile <output file> | Saves output file in to the specified location. | Provide full path with name where you want to save the output CSV file. If no file is specified, the file dataPrepUtility.xlsm is created in the folder path specified with /folder option. |
/viewreport | Opens log file. | Report file is opened when processing completes. |
/? | Displays help for command line options. |
Any error messages encountered while processing display in the command window.
© 2021 UDS