Hi,
Since a wanted to mange diagram with M2Doc in Capella 1.3.1, I wrote the following statements:
{m:let diagrams = self.containedLogicalArchitectures…ownedLogicalComponent->select(lc | lc.name = ‘Logical System’).representationByDescriptionName(‘Logical Architecture Blank’)}
{m:for d | diagrams}
{m:d.name}
{m:endfor}
{m:endlet}
Unfortunately, this code raised the following error :
{m:d.name} Invalid query statement: Attempt to access feature (name) on a non ModelObject value (interface org.eclipse.sirius.viewpoint.DRepresentation).
Please what is the right way to handle diagram with M2Doc in Capella 1.3.1?
Valery