Chapter 1: Introduction

The M2Doc feature in Ansys medini analyze enables you to report project contents into a DOCX file which you format to your needs.

Ansys medini analyze is based on the Eclipse Modeling Framework (EMF). M2Doc is a template language built on top of Eclipse's Acceleo Query Language (AQL). M2Doc makes use of AQL to navigate and query EMF models.

To generate a report, you supply medini with a DOCX template that is readable with M2Doc. Use Microsoft Word or a compatible product to create and format the template, for example with sections and tables. Insert dynamic fields that contain variables or expressions. During report generation, medini analyze evaluates the fields and writes the resulting data from your safety project into the report.

About this Guide

This guide is for creators of M2Doc templates. Basic scripting knowledge is helpful. The guide describes examples of typical uses of AQL and M2Doc in medini analyze. Additional resources are also available.

  • For more information about AQL, see the integrated help in this product.

  • For more information about M2Doc control statements, see the integrated help in this product.

  • To generate a report in medini analyze using an existing M2Doc template, see the Ansys medini analyze User Guide, also in this product.

  • In addition, the Ansys medini analyze forum is regularly updated with M2Doc examples.