EClass Feature not exist

Hi everyone,

I attempted to use the following snippet from an M2Doc template: {m:for representation | self.containedPhysicalArchitectures.eAllContents().representationByDescriptionName(‘Class Diagram Blank’)}, which works fine for all my other projects. However, with one specific project, I consistently encounter the following error: Invalid for statement: Feature containedPhysicalArchitectures not found in EClass Project.

Could someone help me understand why this is happening?

Thanks in advance,
Haytham KAMEL