The Art Exporter is a utility for exporting (parts of) your models to Art files. Those Art files can then be used with Code RealTime.
java -DRSA_RT_HOME=<path_to_rsa_rt_home> -jar modelcompiler.jar --root=<path_to_model_root> --out=<output_directory> --<license_type>=<value> --exportArt <path_to_transformation_config_file.tcjs>
where:
-DRSA_RT_HOME=<path_to_rsa_rt_home>
: Specifies the rsa_rt directory within a Model RealTime installation.
--root=<path_to_model_root>
: Specifies the root directory of your workspace.
--out=<output_directory>
: Specifies output folder to place the exported Art and TC files.
--<license_type>=<value>
: Refer the Model Compiler documentation to learn more about the usage of license. You can copy your license key from the Model Compiler console when building within Model RealTime.
--exportArt <path_to_transformation_config_file.tcjs>
: specifies the path to the input .tcjs file.
Note: Replace the placeholders with the correct paths and license key.
After executing the model compiler, navigate to the output directory specified in the --out
parameter and verify the generated files.
To use the exported Art files, add them as workspace folders in Code RealTime.
Note that you can create additional Art files and TC files as required in these workspace folders in Code RealTime. Just make sure to give them names that won't clash with the names of generated Art files. Thereby you can re-export the source models if you have changed them in Model RealTime, or want to export them with some different settings.
In the example below three Art files (in two workspace folders) have been exported. The other Art file (Top.art
) and the TC file (app.tcjs
) have been manually created in Code RealTime.
Refer to the following video to learn about Art Exporter 2.0.0:
The Art Exporter is now implemented by means of the Model Compiler. Until the upcoming 12.1.3 release it's not possible to install it as an update site onto Model RealTime and to run it from the Model RealTime user interface; only use from the command-line is possible as described above.
1.0.2 (March 18, 2025) This release includes support for C++ General Property page values, including default constructors, copy constructors, assignment operators, etc. Additionally, the Art Exporter now processes interfaces and a bug that caused issues with resolving paths when the project was not in the workspace has been fixed.
1.0.1 (January 24, 2025)
This release fixes incorrect return types for constructors and destructors, ensures the generation of inline operations in header files, adds dependencies support, implements missing static attributes and operations, corrects the translation of delete operations, and includes support for code snippets for types.
1.0.0 (December 13, 2024)
Initial version with support for exporting data types (classes, structs, unions, enumerations and typedefs). Basic support for attributes, operations, nested types (one level) and inheritance.