.ModelicaReference.Annotations.defaultComponentPrefixes

defaultComponentPrefixes

Information

Default prefixes when dragging component

Examples

annotation(defaultComponentPrefixes="inner",
           defaultComponentName="world")

Syntax

   annotation"(" defaultComponentPrefixes "=" STRING ")"

Description

The following prefixes may be included in the string prefixes: inner, outer, replaceable, constant, parameter, discrete. In combination with defaultComponentName it can be used to make it easy for users to create inner components matching the outer declarations.


Generated at 2025-04-01T18:24:36Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos