1. Home
  2. /
  3. Solidworks-addins
  4. /
  5. VBA Macro Hello World

VBA Macro Hello World - Solidworks-addins Typing CST Test

Loading…

VBA Macro Hello World — Solidworks-addins Code

A SolidWorks VBA macro that prints 'Hello World' in the CAD status bar.

Dim swApp As Object

Sub main()
	Set swApp = Application.SldWorks
	swApp.SendMsgToUser "Hello World from SolidWorks VBA!"
End Sub

Solidworks-addins Language Guide

SolidWorks Add-ins are extensions or plugins for Dassault Systèmes SolidWorks CAD software, enabling users to add specialized features, automate repetitive tasks, and integrate SolidWorks with other engineering and business applications. They are used to enhance productivity, customize workflows, and connect SolidWorks to external systems.

Primary Use Cases

  • ▸Automating repetitive CAD modeling tasks
  • ▸Integrating SolidWorks with PDM/PLM systems
  • ▸Customizing the SolidWorks user interface
  • ▸Generating reports, BOMs, and drawings automatically
  • ▸Creating specialized engineering tools for internal processes

Notable Features

  • ▸Event-driven automation for part, assembly, and drawing changes
  • ▸Custom task panes, property managers, and menus
  • ▸Batch processing for files and features
  • ▸Integration with PDM/PLM and ERP systems
  • ▸Supports multiple programming languages (VBA, C#, VB.NET, C++)

Origin & Creator

Developed by Dassault Systèmes as part of the SolidWorks platform, Add-in support was introduced to enable customization and workflow automation within the CAD environment.

Industrial Note

SolidWorks Add-ins allow engineers to extend the base CAD capabilities to meet project-specific, departmental, or enterprise-level needs, such as batch drawing generation, BOM extraction, or ERP integration.

More Solidworks-addins Typing Exercises

C# Add-in Example

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher