Art Exporter

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.



Installation

  1. Download the latest version (2.0.1) backend-2.0.1.20250616_1015.zip of the Art Exporter.

  2. Perform Help - Install New Software

  3. Press the Add button and give a unique name to the P2 repository (e.g. ArtExporter_<today's date>). Then press the Archive button and browse to the location where you saved the Art Exporter ZIP file. Press the OK button.

  4. Mark all checkboxes and press Next.

  5. Accept the license agreement and press Next.

  6. Press Finish to start the installation. Once it is completed you will be prompted to restart Model RealTime. Do so.

Export model options

Export model from UI

  1. Start the Art Exporter from File - Export. Under the Modeling category select Art Files for Code RealTime and press Next.

    Export Wizard
  2. Specify a TCJS file from the workspace under Source. This file will be exported to Art file.

  3. Under Destination select either a project in your workspace, or a directory in the file system. Generated Art files will be placed in subfolders in the specified location. There will be one subfolder for each project to which the selected TCJS files belong.

  4. Click Finish to export the models to Art files.

Export model from command line

  1. Locate the modelcompiler.jar file in the tools directory.
  2. Run the model compiler from the command line. Refer to the Model Compiler documentation to invoke the model compiler from the command line.
    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:
    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.

Using exported files in Code RealTime

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:

Release notes and versions

2.0.1 (June 19, 2025)

This release includes initial support for capsules, protocols, ports, events, and state machines, enabling the migration of simple Model RealTime applications to Code RealTime. This update also allows usage from the command line and ensures more consistent generation of Art and C++ files.

2.0.0 (May 7, 2025)

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.