CADSHARP BLOG

CAD programming and engineering articles.

Explore CAD APIs, automation, and engineering workflows. Browse technical articles, or switch to Events & updates for past announcements.

Technical articles

Onshape API Rate Limits: Development Tips

Learn how Onshape API rate limits work, what changes for developers, and how to design efficient integrations that avoid unnecessary API calls.

Technical articles

Top 2025 Onshape FeatureScript and API Enhancements

2025 FeatureScript: A Year of New Standard Capabilities 2025 was a massive year for the FeatureScript Standard Library. Onshape didn't just improve existing tools; they introduced

Technical articles

What’s New In the 2026 SOLIDWORKS API

This article covers notable enhancements to the 2026 SOLIDWORKS API, PDM API, and Document Manager API. SOLIDWORKS API New interfaces IDSPBRMaterial Interface - Allows access to Da

Technical articles

What's New In the 2025 SOLIDWORKS API

This article covers notable enhancements to the 2025 SOLIDWORKS API, 2025 SOLIDWORKS PDM API, and 2025 SOLIDWORKS Document Manager API. SOLIDWORKS API Texture Mapping Enhancements:

Technical articles

Top 2024 Onshape FeatureScript and API Enhancements

2024 FeatureScript Performance Improvements The updates focused on improving the performance of FeatureScript are among the most significant enhancements. These improvements includ

Technical articles

Onshape hidden tips and tricks

Onshape hidden tips and tricks. ㅤ Here is a list of useful Onshape tips that you may not know about: How to get Onshape dark theme Search for the DarkReader chrome extension. Add t

Technical articles

Adding FeatureScripts to your toolbar

How to add a custom feature to your toolbar? ㅤ Open the Onshape document containing the custom feature. While viewing the Onshape document, click on the icon near the top of the pa

Technical articles

What's New In the 2024 SOLIDWORKS API

The most notable news with the SOLIDWORKS 2024 release is the addition of the ability to save 2024 models to 2023 or 2022 versions. This entirely solves the complaint of lack of ba

Technical articles

Event Handlers in SOLIDWORKS Addins

Written by Sean Stubbe Introduction Event handlers in SOLIDWORKS addins appear relatively straightforward to implement but they lack good documentation and I have not been able to

Technical articles

World's first PDM API Video Course Out Now!

The world's first ever SOLIDWORKS PDM API video course is now available to aspiring PDM developers everywhere via CADSharp.com. This five hour course will teach how to automate SOL

Technical articles

NEW: SOLIDWORKS API Best Practices Guide

(Important: This guide is owned and distributed by SOLIDWORKS Corp, not CADSharp LLC, which is why we cannot provide it to you directly.) When SOLIDWORKS Corporation needed a best

Technical articles

Block Commands With the SOLIDWORKS API

CADSharp is pleased to present a new free tool called Command Blocker that blocks specific commands from running in SOLIDWORKS. Optionally, you can also run a macro in lieu of the

Technical articles

New PDM Product: Convert DWG Task

Overview CADSharp is partnering with EhCanadian and is pleased to present one their flagship products, "Convert DWG Task". Formerly called, "Convert With DraftSight", Convert DWG T

Technical articles

How To Read / Write Third-Party Storage

Often-times developers will need to store information inside a model that should not be exposed to the user in any way. While attributes might solve this need, the downside is that

Technical articles

The Power of the PDM API Explained: Part 1

This is the first post in a series PDM management and integration by Guy Edkins. If you have any need for SOLIDWORKS PDM customization, do not hesitate to contact us. When SOLIDWOR

Technical articles

What's New In the 2019 SOLIDWORKS API

Another year, another round of great updates for the SOLIDWORKS API. Although I'm not going to change the title of this blog series, this post is also going to contain updates for

Technical articles

How To Ask A Good Programming Question

In a hurry? Skip right to the section called Guidelines for the meat of this article. Introduction Over one year ago we introduced tech support through Slack, where you can ask you

Technical articles

CADSharpTools: .NET Developer Toolkit

As of May 2026, CADSharpTools has been retired as a commercial offering. CADSharpTools was developed to speed up SOLIDWORKS API and SOLIDWORKS PDM API development with a library of

Technical articles

What's New in the 2018 SolidWorks API

SolidWorks 2018 was released over half a year ago, but it's never too late to talk about the new enhancements in the SolidWorks API. Aside from covering new API calls, we will look

Technical articles

Productivity Software and Tools That I Use

In this post I want to give you a peek inside how I organize myself as a software developer, software development team leader, and small business owner. Consequently, you'll learn

Technical articles

How to Crack A SolidWorks VBA Macro

Any VBA macro, whether for SolidWorks or an Microsoft Office product, can have be locked using a password. The password is required to view the source code but not run the macro. T

Technical articles

How to Protect Your .NET Source Code

Warning: I am not a software security expert. Please do not use this blog post as the basis for protecting highly sensitive code. This past week I presented twice at SolidWorks Wor

Technical articles

Techniques for Obtaining Bounding Boxes

Bounding boxes are used constantly in engineering for a variety of reasons. Amongst SolidWorks users, I frequently see them used to optimize plant floor layouts, packaging sizes, a

Technical articles

What's New In The SolidWorks 2017 API

It's that time of year again, folks. Let's look over some of the most notable enhancements to the SolidWorks API, as well as some tips for using the API Help most effectively. Crea

Technical articles

What's New In The SolidWorks 2016 API

Another year, another round of SolidWorks API enhancements. Let's run through the most notable: Get corresponding sketch contours, sketch segments, and annotations for a specific i

Technical articles

What's New In The SolidWorks 2015 API

The SolidWorks 2015 API contains quite a few enhancements that I am excited to share with you. Here are some of the most significant: Access scenes. Insert a table-driven pattern f

Technical articles

Tips for Finding and Organizing Code Snippets

If you're even the least bit serious about SolidWorks API programming, then you need to have a game plan for efficiently doing each of these: Finding code for use in a macro you ar

Technical articles

Macros vs Add-ins vs Stand-Alones

If you're interested in automating some or all of your company's workflow on your own or with the help of CADSharp's automation services, you need to answer this very important que

Technical articles

What's New in the SolidWorks 2014 API

It's that time of year again. The latest major release of SolidWorks is upon us, and with it comes a delightful assortment of awesome new enhancements to the SolidWorks API. New AP

Technical articles

Embed and Auto-Run Macros Using Equations

This video summarizes the contents of this post and demonstrates the examples listed below. Ever wanted a macro so tightly integrated with a part or assembly that 1) the macro alwa

Technical articles

Using Microsoft Excel with the SolidWorks API

Given the ubiquity of Microsoft Excel in engineering departments worldwide, it is no surprise that our "Using Microsoft Excel with the SolidWorks API" tutorial, freely available in

Technical articles

How to make your VBA macros x64 compatible

In a hurry? Just watch the video above. It covers the most important points. If your scenario isn't covered in the video, then I probably cover it in this article. Overview SolidWo

Technical articles

Fix "Compile error : Can't find project or library"

Your browser does not support video playback. You've written your first "serious" SolidWorks API macro. You're ready to share with your co-workers. You fire up your email, attach t

Technical articles

How To Copy, Clean, & Use API Help Examples

I received a great question from one of my newer customers the other day: "Why can't I ever seem to get an API Help example to work right after copying and pasting it into the Visu

Technical articles

Video: Write A Powerful Macro From Scratch

The time has come for another free video tutorial! In this tutorial, novice SolidWorks API programmers learn just how easy it is to create a powerful macro from scratch in under a

Technical articles

What's New in the SolidWorks 2013 API

Unless you're a die-hard SolidWorks enthusiast that gobbles up the first beta release, chances are you haven't seen SolidWorks 2013 or are just beginning to explore your freshly do

Technical articles

Interview With API Expert Jeff Sweeney

How do long-time SolidWorks API experts use their skills within the engineering industry? In an effort to answer that question, I am pleased to introduce Jeff Sweeney of 3DVision T

Technical articles

RunCommand: The Swiss-Army Knife of the API

ISldWorks::RunCommand is probably the most powerful call in the entire SolidWorks API. Using this single, easy-to-use API call you can execute over 3,000 individual SolidWorks comm

Technical articles

Password-Protect VBA Macros & Other VB Editor Tricks

The lowly Visual Basic Editor is sometimes looked down upon in comparison to the feature-robust design-environment available with .NET macros and add-ins. Its true, the VB Editor i

Technical articles

Schedule Macros Using the Task Scheduler

Have a macro that you'd like to run on all models in a directory while out of the office? Enter the Task Scheduler. Located in the SolidWorks Tools directory in your Start Menu, th

Technical articles

7 Ways To Run A Macro Without the Run Button

How do you run your macros right now? Tools-->Macro-->Run? By clicking Run on the macro toolbar? If macros are even a small part of your workflow, you can do much better. In this p

Technical articles

Workgroup PDM API Resources

Enterprise PDM is, no doubt, SolidWorks Corp's flagship PDM package. This has been the case already for a few years. That being said, Workgroup PDM is not dead and remains a great

Technical articles

7 Mistakes New SolidWorks API Programmers Make

For those who don't know, SolidSmack.com, the largest CAD/CAM blog in the world, recently ran an article on CADSharp.com in which I answered three questions about the SolidWorks AP

Technical articles

Mating Automation Techniques: Pros and Cons

You can't talk about assemblies long without talking about mating. Consequently, if we're going to automate assembly creation then we better have a darn good strategy for automatin

Technical articles

Video: The 99 Must-Know SolidWorks API Calls

Did you know that there are probably over 10,000 API calls available in SolidWorks? Yet less than 1% of them are necessary for creating even very complicated automation macros and

Technical articles

Advanced API: Using Persistent IDs to Locate Objects

Fundamental to writing macros and add-ins with the SolidWorks API is knowing how to get the pointer to a particular object. In some cases, this is a simple. If you need a selected

Technical articles

Free PDF: 23 VBA Errors and How To Fix Them

Download the free PDF here If you've done any significant amount of programming with the SolidWorks API, no doubt you've run into compile or run-time errors. In my thousands of hou

Technical articles

Video: Learn API Basics in Just One Hour

At SolidWorks World 2012, I taught 30 API novices the following in a single hands-on session: How to use the macro recorder How to edit and clean up the recorded code How to declar