The current version of the code generator tries to simplify enum type names in case they are used in several types. This is used for example in the "symmetry" attributes of several types, where all these enums are combined to a single CPACSSymmetry type.
The problem with this logic occurs when multiple attributes with the same name, but with different possible enumeration values are used. When both attribute types are used at least in two types, the attribute types are collapsed to a single type in the source code, containing the possible enum values of the latter one (see attached example).
schema.zip
The current version of the code generator tries to simplify enum type names in case they are used in several types. This is used for example in the "symmetry" attributes of several types, where all these enums are combined to a single CPACSSymmetry type. The problem with this logic occurs when multiple attributes with the same name, but with different possible enumeration values are used. When both attribute types are used at least in two types, the attribute types are collapsed to a single type in the source code, containing the possible enum values of the latter one (see attached example). schema.zip