Configuring the Creo View Adapter for Inventor > Advanced Adapter for Inventor Configurations > inventorbatch XML Job File Elements for Command-line Usage
  
inventorbatch XML Job File Elements for Command-line Usage
Inventor CAD data can be converted from the command line using inventorbatch. This chapter explains the command line options for command line publishing. See Inventor Command Line Publishing for more information.
* 
Most of the command line options can also be used by the inventorpublish and inventorworker scripts.
The command string used to publish CAD data follows the format:
inventorbatch [options] <cad_data>
You can see the command line options by typing inventorbatch –h.
The options returned are described in the following table:
Available Command Line Options
Command
Purpose
–? –h
For basic help page. UNIX shells may try to export the question mark, so type the option in quotes, for example, “-?”.
@<file>
Read options from the response file <file>.
–CP
Use piped communication to server.
–CS<host><socket>
Socket communication <host><socket>.
-DA<alias>
Define the worker alias name.
–d<depth>
Set the conversion file depth. When converting, an assembly file determines the depth to which the hierarchy should be traversed. The default is all.
-De<variable> <value>
Define an environment setting <setting> and set its value as <value>.
-Dr<variable> <value>
Define a recipe setting <setting> and set its value as <value>.
–ED
Set environment to dvconvert mode.
–EP
Set environment to publisher mode.
–EW<type>
Set environment to worker mode. The variable <type> is passed to the Worker Agent to identify the worker type.
–H
For extended Help options.
–I
Identify the version of the adapter being used.
–o<name>
Set base name for the output file.
–p<name>
Set base path for the output file.
–r<name>
Set recipe file to be used.
–vc
Disable all console print outs.
–vc1
Redirect all console print outs to stdout.
–vc2
Redirect all console print outs to stderr (default).
–ve[n]
Increment or set (if [n] is given) the error reporting level. Using –ve0 disables all error reporting, default 1.
–vl<file>
Direct all printed output to <file>.
–vL<file>
Append all printed output to <file>.
-vm[module] <flag>
Enable monitor logging for the main program or given module.
–vn<file>
Direct all printed output to new log file <file>_#.log.
–vp<n>
Set the process verbosity flag. You can list the possible modules using the –I option. Flags are listed in the source code.
–vt
Give the current date and time stamp with all print outs.
–vT
Give the process run time stamp with all print outs.
–vw[n]
Increment or set the warning reporting level, see –ve[n].
The command line <cad_data> defines what is to be converted. inventorbatch can publish more than one instance of CAD data at a time. To publish a list of CAD data, type all of the names on the command line separated by a space. Wildcards (asterisks *) can also be used, if you are confident that the data returned will be correct. A possible command line using options is as follows:
inventorbatch -vl mylogfile.txt -vc -p output file.inventor