Altova UModel 2025 Enterprise Edition

Creating, Loading, and Saving Projects in Batch Mode

Home Prev Top Next

When you run UModelBatch.exe with a command like UModelBatch MyProject.ump, you can use the following parameters:

 

/new

This parameter defines the path and file name of the new UModel project file (*.ump) to create. It can also be used to load an existing project and save it under a different name, for example:

 

UmodelBatch.exe MyFile.ump /new=MyBackupFile.ump

/set

This parameter overwrites the current default settings in the registry with the options you specify.

/gui

This parameter displays the UModel graphical user interface (GUI) during the batch process.

 

The examples below illustrate how to create, load, or save projects in full batch mode (in other words, the /gui parameter is not set).

 

new

UModelBatch /new=xxx.ump (options)

creates a new project, executes options, xxx.ump is always saved (regardless of options)

 

auto save

UModelBatch xxx.ump (options)

loads project xxx.ump, executes options, xxx.ump is saved only if document has changed (like /ibt)

 

save

UModelBatch xxx.ump (options) /new

loads project xxx.ump, executes options, xxx.ump is always saved (regardless of options)

 

save as

UModelBatch xxx.ump (options) /new=yyy.ump

loads project xxx.ump, executes options, always saves xxx.ump as yyy.ump (regardless of options)

 

 

The examples below illustrate how to create, load, or save projects in batch mode with UModel user interface visible (the /gui parameter is set).

 

new

UModelBatch /gui /new (options)

creates a new project, executes options, nothing saved, the GUI is left open

 

save new

UModelBatch /gui /new=xxx.ump (options)

creates a new project, executes options, xxx.ump saved, the GUI is left open

 

user mode

UModelBatch /gui xxx.ump (options)

loads project xxx.ump, executes options, nothing saved, the GUI is left open

 

save

UModelBatch /gui xxx.ump (options) /new

loads project xxx.ump, executes options, xxx.ump is saved, the GUI is left open

 

save as

UModelBatch /gui xxx.ump (options) /new=yyy.ump

loads project xxx.ump, executes options, xxx.ump is saved as yyy.ump, the GUI is left open

 

The project will be saved successfully provided that no critical errors occur while executing the options.

© 2018-2024 Altova GmbH