Our Blog

Read our latest writings.
July 4, 2022

A PDM race condition: How your code might wrestle with PDM when saving files directly to the vault — and what to do about it.

A race condition may occur when two instructions are executed at the same time. The output gets determined by which…

Read Story
August 2, 2021

SOLIDWORKS PDM Professional: You have chosen to load a .Net Add-in? Well, what do you do next ?

SOLIDWORKS PDM Professional employs a server-client architecture. Your files and metadata is stored on the server (Archive server is where your files and stored and everything else go in the SQL db). You push all of your changes to the server from your local PDM client and you also pull…

Read Story
VBA LOGO
January 23, 2021

Traverse Assembly Tree Recursively -SOLIDWORKS API

This topic is most definitely a recurring one. I find myself having to go back to old pieces of code…

Read Story
January 20, 2021

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
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
VBA LOGO
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
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
SOLIDWORKS VBA vs SOLIDWORKS .NET
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
Arrow-up
×