XML Batch Conversion
HOOPS Converter can take commands from an XML file which allows for specifying multiple conversion cycles which will be executed in succession. Please refer to the list of command line options which are available.
To perform a batch conversion, use the following command line:
converter --input_xml_batch_file "sample_batch.xml"
Below is an example of an XML file that performs multiple conversions.
<converter license="PutLicenseHere" output_directory="D:\myfiles\output">
<input file="D:\myfiles\roller.jt">
<output type="SC Model" file="roller" sc_export_assemblytree="true" />
<output type="PDF" file="roller.pdf" background_color="0,0.5,0.2,0.1,0.2,0.3" />
</input>
<input file="D:\myfiles\micro engine.CATProduct">
<output type="SC Model" file="microengine" />
</input>
</converter>
converter
input
output
The rest of the output attributes correspond to the command line export options. Please see the command line page for more information.