Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
SOLIDWORKS PDM API: Data Card Add-in
New

SOLIDWORKS PDM API: Data Card Add-in

Build a C# SOLIDWORKS PDM add-in that syncs model metadata to drawings from a data card button
Created byAmen Jlili
Last updated 9/2026
English

What you'll learn

  • Set up a Visual Studio project and install the SOLIDWORKS PDM add-in references
  • Implement IEdmAddIn5, GetAddInInfo and OnCmd to build a working PDM add-in
  • Debug PDM add-ins with notepad.exe and with pdmdebugger.exe
  • Pair drawings with their models inside the vault
  • Extract metadata from models and write it to drawings automatically
  • Trigger your logic from data card buttons and PDM events
  • Add settings to make your add-in configurable

Course content

1 section • 18 lectures • 2h 27m total length
  • Introduction0:38
  • Visual Studio Requirements4:22
  • Creating your Visual Project3:27
  • Installing the PDM add-in references5:08
  • EdmAddIn54:32
  • GetAddInInfo (EdmAddInInfo)5:51
  • GetAddInInfo (IEdmCmdMgr5)6:30
  • OnCmd6:42
  • IEdmVault56:11
  • Debug addins (with notepad.exe)9:40
  • Debug addins (with pdmdebugger.exe)5:46
  • PDM File Pairing13:09
  • PDM Data Extraction6:12
  • Writing PDM Metadata3:09
  • Complete PDM Sync2:26
  • Debugging logic13:35
  • Trigger PDM Events23:05
  • Adding Settings27:08

Requirements

  • Working knowledge of C# and Visual Studio
  • SOLIDWORKS PDM Professional with administrator access to a test vault

Description

Learn how to develop a custom SOLIDWORKS PDM Data Card add-in using C# and the SOLIDWORKS PDM API. In this course, you will build a custom button that extracts metadata from 3D models and automatically transfers it into drawings. The course covers metadata extraction, PDM events, debugging, triggering logic from data card buttons, and adding custom menus.

You begin with the Visual Studio requirements, create your project, and install the PDM add-in references. Next you work through the core pieces every PDM add-in needs: the EdmAddIn5 interface, GetAddInInfo with EdmAddInInfo and IEdmCmdMgr5, the OnCmd method, and the IEdmVault5 object. You also learn two practical ways to debug add-ins, one using notepad.exe and one using pdmdebugger.exe.

With that foundation in place, you build the real feature step by step: pairing each drawing with its model in the vault, extracting data from the model, writing metadata to the drawing, and running a complete sync between the two. You then debug the logic, trigger it from PDM events, and finish by adding settings to the add-in.

Who this course is for: SOLIDWORKS PDM administrators and developers with some C# experience who want to automate data card workflows. If you have not written a PDM add-in before, SOLIDWORKS PDM API: How To Write C# Add-ins is a good place to start.

Who this course is for:

  • SOLIDWORKS PDM administrators who want to automate data card workflows
  • C# developers building add-ins for SOLIDWORKS PDM
  • Engineering teams tired of copying metadata from models to drawings by hand