Command line interface (C++ code)
The Reverser command line interface allows you to generate and reverse engineer code through batch files. This is useful should you want to, for example, schedule a batch file to generate 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 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 (reverse engineering only).
◦ ~syncwizmrg.log - records the destination merge log (reverse engineering only).
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)\PTC Integrity Modeler\Modeler\Exe\syncwiz.exe
For 32-bit versions of Windows:
• C:\Program Files\PTC Integrity 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
Syncwiz -cpp -rev -auto