CodeStack

Hundreds of SOLIDWORKS API examples, tutorials and free ready-to-use macros

CodeStack is a free programming resource focused on SOLIDWORKS API and SOLIDWORKS PDM API development. It contains hundreds of code examples, articles, tips and tricks for beginners as well as experienced developers.

Whether you want to record your first macro, automate a repetitive task with a ready-to-use macro or develop a complex add-in, CodeStack provides step-by-step guidance and working source code.

What you will find

SOLIDWORKS API and macros

Examples and tutorials for SOLIDWORKS API in VBA, C#, VB.NET and C++, from the first macro to add-ins and stand-alone applications

SOLIDWORKS Macro Library

Dozens of free, ready-to-use macros which automate common SOLIDWORKS routines

SOLIDWORKS PDM Professional API

Customize and automate your document management with the SOLIDWORKS PDM Professional (EPDM) API

Document Manager API

Read and write metadata and properties of SOLIDWORKS files without opening them in SOLIDWORKS

eDrawings API

Build custom viewers and markup editors for SOLIDWORKS files in ActiveX, WPF or Windows Forms

SOLIDWORKS Labs

Custom-built open-source add-ins which extend the functionality of SOLIDWORKS

Open source

CodeStack is open-source and all of its articles are hosted on GitHub. Contributions, suggestions and feedback from the community are welcome.

Ready to try CodeStack?
Find the full documentation, downloads and release notes on the product website.
Visit codestack.net

Other products

CAD+ Toolset
Go beyond the capabilities of your CAD software with CAD+. A unique collection of SOLIDWORKS tools for batch processing, assembly, drawings, geometry automation, and much more
Learn more
xCAD.NET
Developing modern applications for your CAD package has never been easier. xCAD.NET is a free and open-source .NET library for creating SOLIDWORKS add-ins, property manager pages, macro features and more
Learn more
Docify
Make technical documentation, user guides, and blogs with ease using Docify. This simple-to-use, content-oriented static site generator lets you create and maintain awesome web pages
Learn more
xToolkit
A collection of functions, utility classes, and UI/WPF controls all in one place to streamline your software development in .NET. xToolkit is free and open-source
Learn more