Our Blog

Read our latest writings.
December 26, 2020

Early binding vs Late Binding: How to write macros that will always run with no errors

TLDR: Here's what you need to know about Early Binding Vs Late Binding Use early binding for writing macros. It…

Read Story
August 11, 2020

Must-know EPDM API errors for SOLIDWORKS add ins

PDM administration tool Below is a compiled list of the most notoriously common errors that you may encounter while deploying add-ins to a SOLIDWORKS PDM Professional vault. Proposed solutions are also listed under each error. The dll is not a COM module. This error is pretty straight-forward. The class that…

Read Story
December 26, 2020

Protect macros with a password – Valid for Excel and SOLIDWORKS

TLDR: Protect macros modules from viewing by adding a password from the protection tab at Tools > Macro Name Properties.A…

Read Story
December 24, 2020

Crack any SOLIDWORKS password-protected VBAmacro with screenshots

Disclaimer: The information shared in this article is intended to show how easy it is to unlock the password protection…

Read Story
August 5, 2020

Delete dangling dimensions VBA macro

This macro deletes all dangling dimensions from all sheets in the active drawing document. ' Delete all dangling dimensions ' Conditions = Active document must be drawing ' Results = Dangling dimensions deleted ' www.bluebyte.biz Dim swApp As Object Dim swModel As Object Dim swDraw As Object Dim swSheet As…

Read Story
June 15, 2020

Add watermark to your drawings – Macro

Add watermark macro in action. This macro adds a watermark to the active sheet of the active drawing document: 'www.bluebyte.biz Public Enum swVerticalJustification_e swVerticalJustificationNone = 0 swVerticalJustificationBottom = 3 swVerticalJustificationMiddle = 2 swVerticalJustificationTop = 1 End Enum Public Enum swTextJustification_e swTextJustificationCenter = 2 swTextJustificationLeft = 1 swTextJustificationNone = 0 swTextJustificationRight…

Read Story
May 30, 2020

Top reasons to upgrade your VBA macros in 2020

Converting a SOLIDWORKS VBA macro to an add-in. VBA macros continue to be the choice of the SOLIDWORKS community for…

Read Story
April 17, 2018

Export Bill Of Materials to Excel with thumbnails

This macro exports Bill of Materials to Excel with thumbnails. You definitely need this one if you are on SOLIDWORKS 2018 or older. When you run the macro, a new session is Excel is opened, the BOM is copied there and a thumbnail preview is created for each of the visible…

Read Story
April 7, 2018

Delete all properties for the active configuration – SOLIDWORKS MACRO

The following macro deletes all the properties from the active configuration. The macro is written used late-binding so it is version independent. The deletion action requires confirmation by the user. ' Delete all dangling dimensions ' Conditions = Active document must be drawing ' Results = Dangling dimensions deleted '…

Read Story