blank
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 in MagicDraw

Automate modelling workflows using macros and scripting. Improve efficiency and reduce repetitive manual work.

Duration

1 days (Open Enrollment: 2 days)

Format

Direct + Open Enrollment

Level

Features

Overview

About This Course

One-day workshop of lectures and interactive demos providing a foundational understanding of automation in MagicDraw using custom scripts and macros.

blank

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 and Cameo Simulation Toolkit / CATIA Magic Model Analyst plug-ins

Take-Aways

Foundational understanding of capabilities and best practices for using macros and scripting in MagicDraw.

Prerequisites

Applying SysML with MagicDraw

Automation Using Macros & Scripting in MagicDraw

Foundational workshop on MagicDraw automation using custom scripts and macros.

  • Level: Feature
  • Duration: 1 Day (Open Enrollment: 2 Days)
  • Format: Direct + Open Enrollment

Course Curriculum

DAY 1 - Macros & Scripting in MagicDraw

Course introduction and additional resources

Overarching concepts:
• plugin vs macro vs script
• supported languages
• IDE for development
• opaque actions/behaviors
• structured expressions

Introduction to the API:
• JavaDocs
• version changes
• imports

Common and useful classes:
• Element/NamedElement
• Application/Project
• Helpers
• session management
• logging
• selected element

Where does code go?: saving macros locally / in a Macro Element / in an Opaque Behavior; executing macros and using scripts

Examples and hands-on exercises:
• Hello World
• Custom Column
• Dynamic Legend
• Smart Package
• Find and Print All Blocks
• Rename Interface Blocks
• Creating Elements

Outcomes

R

DAY 1 - Macros & Scripting in MagicDraw

Write and run macros and scripts in MagicDraw to automate model tasks and extend tool functionality.