# 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`
Root Element defining a conversion cycle.
Allowed Attributes:
* license - Package License Key
* output_directory - Default directory for file export
`input`
Defines a conversion cycle performed on a single CAD file
Allowed Attributes:
file - Location of input file.
`output`
Defines a single file export.
Allowed Attributes:
file - Location of output file.
type - Type of output file. Supported types are: SC Model, XML, HSF, PDF, PRC, STL, XT, PNG, STEP, 3MF

The rest of the output attributes correspond to the command line export options. Please see the command line page for more information.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...