Model RealTime 11.2 2022.41

175655: CQPAR00260446: Project importer "Calculate dependencies based on transformation configuration prerequisites" feature doesn't import all dependencies

External project import wizard imports all dependent projects based on TCJS prerequisite.

175652: Project importer "Calculate dependencies based on transformation configuration prerequisites" feature doesn't import any dependencies

Import External Projects wizard will now correctly handle empty elements in the list of transformation configuration dependencies.

175639: Commands for saving and opening editor session

Newly introduced commands Save Session and Open Session under Manage Editors menu allow to save and restore the currently opened editors.
Note: The file will be saved with .session extension

175631: Prerequisite transformation configuration not inherited

Problem with resolving sources from parent TC prerequisite has been solved. Now model files are loaded in time and source elements are resolved properly when a concrete TC is inheriting prerequisites from parent abstract TC.

175628: "Workspace output path" in TC doesn't allow for subdirectories

Advanced support for "Workspace output path" TC property (tc.targetProject) has been implemented. Now the following can be used:
- subfolders, for example, "sub1/sub2/targetProjectName"
- TCONFIG_NAME inheritance, for example, if "$(TCONFIG_NAME)_target" is defined in parent TC and inherited in several child TCs, name of generated target project will be resolved based on the child TC name
- full paths, for example, "C:/work/proj1/ws1/$(TCONFIG_NAME)_target"
- workspace_loc variable which points to the current workspace location, for example, "$(workspace_loc)/../myApp/myTargets/$(TCONFIG_NAME)_target". workspace_loc variable definition is also generated into makefile and can be used in "Target Configuration" paths.

175572: EOL character is lost in code snippet on save

Newline characters in code snippets are now handled correctly when the model is fragmented.

175515: Create connection between ports causes automatic connection between two other ports

Creating a connector between inherited ports in Composite Structure Diagram is now handled correctly without adding connectors between other instances of the same ports.

175505: For events, Search string not prefilled with event's name

Events and Composite Structure Diagrams names are now prefilled in Search string field in the Find/Replace dialog.

175504: Model RealTime enters inconsistent state when TOP state is automatically entered, but TOP is not a composite state

If Open State Machine Diagram command is configured to automatically go inside the TOP state, it will not go inside TOP state, if it is not a composite state.

175493: "Points to const type" is missing for shared aggregation

"Points to const type" checkbox is now available in C++ General property page for attributes.

175477: Uplift MSVS to version 17 (2022)

Target configurations for Visual Studio 2022 (ver 17), both for 32 and 64 bits, are now provided. It replaces the older Visual Studio 2017 (ver 15) configurations.

175463: Moving a connector from one port to another doesn't update the connector's Properties

When reconnecting an existing connector to another port in a Composite structure diagram, connector's properties are now updated correctly in the Properties view.

175439: Transformation configuration editor does not use the inherited environment variable set for target location of a Child TC

Processing of TC target project location has been improved. Now, Location property is properly inherited. Additionally, workspace_loc variable which points to current workspace location is supported. TCONFIG_NAME can be used in parent TC target project location, but it will be resolved based on the child TC names. "Workspace output path" (tc.targetProject) can be defined with full path, or with nested subfolders.

175390: Support Linked Resources in Model Compiler

Now it is possible to reference a special variable workspace_loc in TC properties instead of using manually defined WORKSPACE_PATH from Linked Resources. workspace_loc points to the current workspace location. It can be used in output location for generated target projects and in Target Configuration paths, for example, Inclusion paths, User libraries and others. workspace_loc definition is generated into makefiles.

173874: Path variables (e.g. workspace_loc or project_loc) are not resolved in certain input fields.

Added support for workspace_loc variable which points to the current workspace location. It can be used in output location for generated target project and in Target Configuration paths, for example, Inclusion paths, User libraries and others. workspace_loc variable definition is generated into makefile.