You are on page 1of 1

8/14/2017 Siemens Documentation

Running assembly build simulations from the command line

You can run assembly build simulations from the operating system command line. These simulations run very quickly, since there is no concurrent graphical processing in the
Teamcenter lifecycle visualization viewer. Numeric and graphical results of the simulation are saved in an HTML file that you can view in a browser.

Prerequisites
64-bit Teamcenter lifecycle visualization mockup or 64-bit Teamcenter lifecycle visualization professional.
A process document. The process document can be created in the Variation Analysis application inside Lifecycle Visualization and saved in the usual .pdo format, or can be output
from some other information system to a tab-delimited text file and named with a .txt extension.

Tip Use the Export Process Doc Summary command on a process document in the Variation Analysis application inside Lifecycle Visualization to create an example of a
properly formatted tab-delimited text file.

The operating system PATH variable must be set to include the ...\Teamcenter[version]\Program folder.

Note Failure to set the path will likely result in an error message about a missing file.

Executable file location


The executable file VPVsaBatchAutomation.exe is located in the ...\Teamcenter[version]\Products\Mockup or ...\Teamcenter[version]\Products\VVPro folder.

Example command strings


The following example runs a simulation on an existing PDO file.
...\Teamcenter10.1\Products\Mockup\VPVsaBatchAutomation.exe -s 500 -h -gr "D:\Batch-engine-01.htm" -processgr -hlmgr -mscgr -
histogramgr "D:\VSA\engine.pdo"
The following example runs a simulation on an imported TXT file.
...\Teamcenter10.1\Products\Mockup\VPVsaBatchAutomation.exe -s 500 -h -gr "D:\Batch-engine-01.htm" -processgr -hlmgr -mscgr -histogramgr -
createPDO "D:\VSA\engine-imported.pdo" -import "D:\VSA\engine.txt"

Command syntax and parameter descriptions


VPVsaBatchAutomation [-s(im) #][-h(lm)][-ms][-d(ecimals) #]
[-gr(aphicalreports)<filename> (-processgr hlmgr mscgr histogramgr)]
[-docunits #][-createPDO <filename>][-import] <filename>
-s(im) #
Runs the specified number of random simulations.
-h(lm)
Runs HLM simulations and print contributors.
-ms
Runs Mean Shift HLM simulations.
-d(ecimals) #
Displays model data to the specified precision.
-gr(aphicalreports)
Generates the graphical reports in HTML format. You must specify a file name.
-processgr
Generates the graphical reports for process reports.
-hlmgr
Generates the graphical reports for HLM reports.

-mscgr
Generates the graphical reports for MSC reports.
-histogramgr
Generates the graphical reports for histogram reports.
-docunits #
Sets the document units. Valid values are mm or inches.
-createPDO
Saves the PDO that is created during the import PDO by text process. You must specify a file name.
-import
Imports the PDO in text format.
<filename>
The name of the process document to be simulated. Supports the .pdo extension by default, accepts a .txt extension if -import is included in the command string.

2016 Siemens Product Lifecycle Management Software Inc.

http://fcvas3055.md3.ford.com:8181/tdoc/tcv/11.2.3/help/#uid:xid1023968 1/1

You might also like