When using a partial model export, the nested properties can also be exported to the Modelica file. Nested properties are exported in the following rules:
- If nested properties are not displayed (Structure Compartment is disabled), all of them are exported. For example, see the figure below where the vaporGenerationPlant Part Property contains four nested parts (Heating, Evaporation, Radiation, VaporGenerationPlantCalculation) that are exported to the Modelica file.
- If any of the nested elements are displayed (Structure Compartment is enabled), only they are exported, skipping any hidden elements. In the example below, only Heating and Radiation nested parts of the vaporGenerationPlant Part Property are exported to the Modelica file, while any ports and connectors are skipped. Learn how to display parts and ports >>
To export nested properties, use the procedure described in the Partial model export to the Modelica file page.