Altova UModel 2024

This section contains listings of JScript code that demonstrate the following basic functionality:

 

Start application

Document Access

Generate documentation

Generate code

Update Documentation

 

Example files

The code listings in this section are available in example files that you can test as is or modify to suit your needs. The JScript example files are located at C:\Users\<username>\Documents\Altova\UModel2024\UModelExamples\API.

 

The example files can be run in one of two ways:

 

From the command line: Open a command prompt window, change the directory to the path above, and type the name of one of the example scripts (for example, Start.js).

From Windows Explorer: In Windows Explorer, browse for the JScript file and double-click it.

 

The script is executed by Windows Script Host that is packaged with Windows operating system. For more information about Windows Script Host, refer to MSDN documentation (https://msdn.microsoft.com).

 

© 2018-2024 Altova GmbH