GitPedia

Codestack

Library of SOLIDWORKS API, SOLIDWORKS PDM API, VBA and Desktop code examples, applications macros and tutorials.

From xarial·Updated June 10, 2026·View on GitHub·

🔗 [https://www.codestack.net](https://www.codestack.net) The project is written primarily in VBA, distributed under the MIT License license, first published in 2020. Key topics include: cpp, csharp, solidworks, solidworks-api, solidworksapi.

<img src="https://www.codestack.net/logo.svg" alt="CodeStack" width="200">

🔗 https://www.codestack.net

CodeStack is a free online resource for learning programming and automating an engineering software, such as SOLIDWORKS.

There are hundreds of code examples and useful macros available for download.

Currently, CodeStack consists of following sections:

  • SOLIDWORKS Tools - a collection of useful automation macros to improve your productivity while using SOLIDWORKS
  • SOLIDWORKS API - a collection of example and tutorials of SOLIDWORKS API and macro development
  • SOLIDWORKS PDM Professional API - a collection of examples and tutorials of automating SOLIDWORKS PDM Professional using API
  • SOLIDWORKS Document Manager API - a collection of example and tutorials of accessing metadata of SOLIDWORKS files via Document Manager API
  • SOLIDWORKS eDrawings API - a collection of example and tutorials of automating of SOLIDWORKS eDrawings
  • Visual Basic - tutorial of Visual Basic (VBA) - popular language for writing macros in CAD systems and office applications

CodeStack welcomes contributors! If you found an error, typo, wish to extend the article, or add a new article we will appreciate your contribution. Please follow this blog post for contributing guidelines.

Contributors

Showing top 9 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from xarial/codestack via the GitHub API.Last fetched: 6/20/2026