Querying MagicDraw Models with Structured Expressions
Extract insights from models using structured queries. Improve reporting, traceability, and decision-making.
Duration
1 days (Open Enrollment: 2 days)
Format
Direct + Open Enrollment
Level
Features
Overview
About This Course
One-day course of lectures and interactive demonstrations on how to query MagicDraw models using Structured Expressions.

Required Software
No Magic's MagicDraw (v19.0+) or equivalent No Magic (CSM) or Dassault Systèmes CATIA Magic / Magic Systems Modeler (MSM) — with SysML plug-in
Take-Aways
Understanding of capabilities and best practices for querying MagicDraw models with structured expressions.
Prerequisites
Applying SysML with MagicDraw
Querying MagicDraw Models with Structured Expressions
Course on querying MagicDraw models with Structured Expressions.
- Level: Feature
- Duration: 1 Day (Open Enrollment: 2Days)
- Format: Direct + Open Enrollment
Course Curriculum
DAY 1 - Custom Reports & Templates
Training overview and additional references
Introduction to report generation:
• MBSE report fundamentals
• accessing model content
• introduction to templates
• MagicDraw's Report Wizard
The Velocity Template Language:
• VTL syntax
• boilerplate content
• comments
• references
• directives (set, if/elseif/else, foreach, macro)
MagicDraw extensions to VTL:
• accessing Java/MagicDraw APIs
• pre-built references and collections
• helper tools (Report, Project, Date, Sorter, Bookmark, Dialog, Generic Table, Groovy Script, etc.)
MagicDraw extensions to VTL:
• accessing Java/MagicDraw APIs
• pre-built references and collections
• helper tools (Report, Project, Date, Sorter, Bookmark, Dialog, Generic Table, Groovy Script, etc.)
Values and operations from model:
• primitives
• elements/collections
• operations from model
• built-in operations
Working in Microsoft Office formats: special directives (forpage, forrow, forcol), tips for Word, Excel, and PowerPoint
Developing and maintaining templates: template creation process, common approaches for managing templates
Outcomes
DAY 1 - Custom Reports & Templates
Author Velocity templates that generate Word, Excel, and PowerPoint reports from MagicDraw models.