M2Doc: Enumeration Property Type Values (PVMT)

Hi, so I am trying to get M2Doc to generate a table for my PVMT values however I cannot get any values for Enumeration Property Types only the names.


When I use the Sirius interpreter my assigned property types appear but I cannot seem to find them in the M2Doc interpreter.

Sirius output:
image

Any help would be much appreciated.

Hi Olivier,
I think the expression you are looking for is: (starting from one of your CapellaElements with PVMT values)
self.appliedPropertyValueGroups.eContents(capellacore::EnumerationPropertyValue).value.name
Which for your element containing FHA.Event would output Y.

1 Like

Thanks for the quick response. It worked.