The SOLIDWORKS APIs

When you hear the term “SOLIDWORKS API,” your first thought might be about automating repetitive tasks or enhancing your design workflow. But did you know that SOLIDWORKS offers several APIs tailored for different purposes? Whether you’re creating custom macros, building add-ins, or integrating with external systems, there’s an API that suits your needs. Let’s explore the different types of SOLIDWORKS APIs and their unique roles in the SOLIDWORKS ecosystem.

1. SOLIDWORKS API (Application Programming Interface)

This is the primary API that most developers use to automate and customize tasks in the SOLIDWORKS desktop environment. It’s available as a COM library and supports development in programming languages like VBA, VB.NET, and C#. Here’s what you can do with it:

  • Automate repetitive tasks like creating parts, assemblies, or drawings.
  • Access and modify features, dimensions, and configurations.
  • Interact with the SOLIDWORKS user interface to add custom menus and toolbars.
  • Develop complex design tools to streamline engineering workflows.

The SOLIDWORKS API is your go-to choice for anything that involves the desktop version of SOLIDWORKS.

Applications You Can Write with the SOLIDWORKS API

  1. VBA Macros: Automate repetitive tasks within the SOLIDWORKS desktop environment.
  2. Add-ins: Extend SOLIDWORKS functionality by creating plugins with custom features.
  3. Standalone Applications: Build independent tools that interact with SOLIDWORKS files and data.
Online Documentation

For detailed information and examples, visit the SOLIDWORKS API Online Documentation.

2. SOLIDWORKS PDM Professional API

For those managing design data and workflows, the SOLIDWORKS PDM Professional API offers powerful tools to interact with your PDM vault. It allows you to:

  • Programmatically search for files and folders within the vault.
  • Automate workflows, like transitioning files between states.
  • Create custom tools to generate reports or monitor vault activity.
  • Build integrations with ERP, CRM, or other business systems.

This API is ideal if you work with large teams and need to automate or extend PDM’s capabilities.

Applications You Can Write with the SOLIDWORKS API

Using the SOLIDWORKS PDM API

  1. Custom Add-ins: Tailored extensions that enhance SOLIDWORKS or PDM functionality by integrating custom features and automation.
  2. Dispatch Scripts: Script-based tools in PDM for automating vault operations like file handling and workflow enforcement.
  3. SOLIDWORKS VBA Macros: Lightweight programs to automate tasks and processes within the SOLIDWORKS environment using VBA.
  4. Standalone Applications: Independent tools that interact with SOLIDWORKS files and data outside the main application interface.

3. SOLIDWORKS Document Manager API

Need to interact with SOLIDWORKS files without opening the desktop application? The SOLIDWORKS Document Manager API is here for you. It lets you:

  • Extract properties and metadata from SOLIDWORKS files.
  • Modify custom properties without launching SOLIDWORKS.
  • Generate file previews and thumbnails.

This lightweight API is perfect for applications where speed and simplicity are critical, such as custom file management tools.

You need a new key every year.

4. SOLIDWORKS CAM API

If you’re using SOLIDWORKS CAM for machining and manufacturing, the SOLIDWORKS CAM API can:

  • Automate toolpath generation.
  • Customize machining strategies.
  • Extract machining data for use in other systems.

This API is a fantastic choice for those looking to integrate manufacturing and design processes seamlessly.

5. SOLIDWORKS Routing API

The SOLIDWORKS Routing API is a specialized tool for those working on piping, tubing, and electrical routing. It allows you to:

  • Automate route creation.
  • Modify existing routes.
  • Extract route data for documentation or analysis.

If your work involves designing complex systems with routes, this API can save you significant time.

6. eDrawings Professional API

The eDrawings API provides tools to interact with eDrawings files and applications programmatically. It enables you to:

  • Open and manipulate eDrawings files.
  • Automate viewing, measuring, and marking up designs.
  • Integrate eDrawings functionality into custom applications.

7. SOLIDWORKS Costing API

The Costing API is designed for manufacturing cost estimation and allows you to:

  • Automate cost calculations for parts and assemblies.
  • Extract cost data for reports or integrations.
  • Customize cost estimation workflows to match your manufacturing processes.

It’s an essential tool for teams focused on cost management and efficiency.

8. SOLIDWORKS Composer API

The SOLIDWORKS Composer API is tailored for creating and managing technical documentation. With it, you can:

  • Automate the generation of exploded views and animations.
  • Customize technical illustrations and assembly instructions.
  • Integrate Composer outputs with external systems.

This API is ideal for technical writers and engineers involved in documentation workflows.

9. SOLIDWORKS Electrical API

The SOLIDWORKS Electrical API focuses on electrical schematics and system design. It enables you to:

  • Automate schematic generation and updates.
  • Customize reports and bill of materials for electrical projects.
  • Integrate electrical data with mechanical designs.

This API bridges the gap between electrical and mechanical teams.

10. SOLIDWORKS Manage API

The SOLIDWORKS Manage API is designed for advanced data and project management. It allows you to:

  • Automate project tracking and resource management tasks.
  • Customize dashboards and reports.
  • Integrate Manage data with other business systems.

This API is perfect for organizations looking to enhance their project and process management capabilities.

11. 3DEXPERIENCE Platform APIs

For those embracing cloud solutions, the 3DEXPERIENCE Platform APIs offer the ability to:

  • Interact with cloud-based apps like Collaborative Designer for SOLIDWORKS.
  • Manage data and workflows in the cloud.
  • Develop integrations with other cloud services.

These APIs enable you to extend SOLIDWORKS’ capabilities into the 3DEXPERIENCE platform and beyond.