Services
  • 5
    Engineering Services

Deliver structured MBSE execution with hands-on modelling, integration, and system development support

  • 5
    Custom Solutions

Tailored digital engineering solutions built around your architecture, workflows, and programme needs

  • 5
    Technology Consulting

Expert guidance to define architecture, toolchains, and modelling standards for scalable engineering

  • 5
    AI- Enabled DE

Accelerate digital engineering with AI-driven analysis, automation, and model intelligence

Industries
  • 5
    Automotive Engineering

MBSE for vehicle systems engineering - ISO 26262 functional safety, powertrain, and autonomy

  • 5
    Energy and Infrastructure

MBSE for energy systems - IEEE 1547, IEC 61508/61513, nuclear, renewables, grid infrastructure

  • 5
    Aerospace Engineering

MBSE for aircraft and space systems - ARP4754, DoD 5000.97, SysML, digital engineering

  • 5
    Medical Device and Life Sciences Engineering

MBSE for medical device development - ISO 14971, IEC 62304, FDA, RAAML

  • 5
    Defence Programmes

MBSE for defence programmes - DoD 5000.97, UAF, DoDAF, MOSA, TS/SCI capability

Automation Using Macros & Scripting Workshop

Advanced automation training focused on scripting in MagicDraw. Build tools to streamline complex modelling workflows.

Duration

5 days

Format

Direct

Level

Workshop

Overview

About This Course

Five-day workshop on automation within MagicDraw using the Groovy language. Begins with modules on macro fundamentals, Groovy syntax, scripting for simulation/queries, MagicDraw and Java APIs, and metamodel access. Continues with instructor-led examples of increasing difficulty (querying models for analysis, creating elements/relationships/properties, editing existing elements, building diagrams, laying out symbols). Concludes with student exercises against participant problems with instructor support.

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; Java IDE

Take-Aways

Working confidence with Groovy automation, the MagicDraw API, and applied scripting..

Prerequisites

Applying SysML with MagicDraw

Automation Using Macros & Scripting in MagicDraw Workshop

Advanced workshop on MagicDraw automation with Groovy, covering scripting, APIs, model queries, automation, and hands-on exercises.

  • Level: Workshop
  • Duration: 5 Days
  • Format: Direct

Course Curriculum

DAY 1 - Foundations & API Walkthrough

Workshop scoping and Groovy refresher

Plugin vs macro vs script; supported languages

MagicDraw API and JavaDocs walkthrough

DAY 2 - Common Classes & Patterns

Element/NamedElement, Application/Project, Helpers

Session management and logging

Reading and writing model state

DAY 3 - Reusable Macro Patterns

Saving macros locally, in Macro Elements, and in Opaque Behaviors

Custom column, dynamic legend, and smart package patterns

Find/Filter/Test pipelines

DAY 4 - Applied Hands-On Problem Solving

Workshop exercises against participant problems

Element creation, refactoring, and bulk updates

Integrating scripts with structured expressions and validation rules

DAY 5 - Productisation & Wrap-Up

Packaging scripts for team distribution

Versioning, testing, and code review for MagicDraw scripts

Action plan for in-house automation

Outcomes

R

DAY 1 - Foundations & API Walkthrough

Set up a Groovy scripting environment and navigate the MagicDraw API.

R

DAY 2 - Common Classes & Patterns

Read and modify a MagicDraw model from Groovy with proper session and logging hygiene.

R

DAY 3 - Reusable Macro Patterns

Build reusable scripted macros that drive tables, legends, and smart packages.

R

DAY 4 - Applied Hands-On Problem Solving

Solve real participant scripting problems with reusable, tested macros.

R

DAY 5 - Productisation & Wrap-Up

Productise the workshop scripts into a maintained team automation library.