Command line interface (C code)
The Reverser command line interface allows you to reverse engineer code through batch files. This is useful should you want to, for example, schedule a batch file to reverse engineer code for a Model over night.
When reverse engineering code:
• No user input is required - using the command line interface is the equivalent of starting the Reverser, clicking Next on each page (without changing any settings), and then finally clicking Finish on the last page.
• The operation is performed using the active Model, that is, the last Model opened in Modeler.
• The operation is performed using the Reverser Model Settings File that was last used with the active Model.
• The Reverser saves log files to the Root Directory that is specified in the Model Settings File:
◦ ~syncwizadp.log - records the source code parser log (when source code is parsed only).
◦ ~syncwizmat.log - records the destination match log.
◦ ~syncwizmrg.log - records the destination merge log.
If you installed Modeler to the default locations, Syncwiz.exe resides in the following location.
For 64-bit versions of Windows:
• C:\Program Files (x86)\Windchill Modeler\Modeler\Exe\syncwiz.exe
For 32-bit versions of Windows:
• C:\Program Files\Windchill Modeler\Modeler\Exe\syncwiz.exe
|
Before using the command line interface, ensure that you set up the Reverser options as required and save those settings to the Model Settings File. To save the Reverser settings, select the Save Settings On Exit check box on the Select Model page.
|
Syntax
To reverse engineer code:
Syncwiz -c -rev -auto