Batch Vitesse Overview
- Last UpdatedNov 27, 2023
- 1 minute read
There is a possibility to run Vitesse scripts in batch mode. This is made possible through a set of command line arguments for Drafting based programs in combination with a function to exit the running program. This enables Vitesse scripts to be run in batch without user interaction from any scripting or program language capable of starting an executable program. Below is an example of how this can be done from a DOS BAT file:
|
Example: |
|
marhdes -proj=TTP -username=SYSTEM -pass=XXXXXX -mdb=/TTP -appl=planar - script c:\temp\test.py echo “Vitesse script finished, continuing with next task where the option appl can take one of the following: curved - Curved Modelling jig - Interactive Jig Pillars nesting - Plate Nesting panelline - Panel Line Control planar - Planar Modelling structural - Structural Design |
At the end of the Vitesse script, there should be a call to the exit_program() function. This will instruct the program to end execution, and control will be transferred to the calling script or executable. In the example above the “echo” statement will be performed.