AQL query for a semantic element's model explorer icon

Hey all,

We’re using M2Doc to produce component requirements/specification documents from Capella models. We’re generally doing quite well with it between the AQL documentation, the Capella metamodel documentation, and use of the interactive interpreters.

Something we’d like to do is include the semantic element icons that appear in the Project Explorer window in the documentation alongside the name of the element. I can’t seem to figure out the right query for this - any ideas or guidance on how to query the icon?

These are the sorts of icons I’m referencing:


Hi Andrew,

Assuming icons and labels are defined at the EMF edit level, you can use the following services:

For the label of CapellaElement you can also try the getLabel() if you selected the Capella token in the template property wizard.

Thanks a bunch!


1 Like