SOLIDWORKS Macro

SOLIDWORKS VBA Macro Code to Save Drawing as a PDF

save solidworks drawing to pdf

Usually when we want to speed up process tasks in SOLIDWORKS, we tend to search for Macros that can do the task for us so we can decrease our process time. A lot of these Macros are published online by various users, but be mindful…

Read More...

Recording Macros in SOLIDWORKS Simulation 2017

You now have the power of recording your own macros for studies in SOLIDWORKS Simulation 2017.  The Record button in the Macro Toolbar (or under Tools > Macro > Record) makes it quick and easy to generate the macro script automatically by following the steps you…

Read More...

Why Don’t My Macros Work in SOLIDWORKS?

SOLIDWORKS Macros Broken

Starting in SOLIDWORKS 2013, a new version of Microsoft Visual Basic for Applications was introduced.  SOLIDWORKS now uses VBA 7.1 rather than VBA 6.  This new VBA version supports 64-bit systems.  As a result, your old SOLIDWORKS macros broken as they may not compile correctly with…

Read More...

Why SolidWorks Surfacing Users Should Learn the API

SolidWorks provides a lot of power in making selections. But some things are just not possible out of the box. My colleague Alin was browsing the SolidWorks forums and came across this thread. Once the problematic face is deleted the model looked like this:

Read More...

Imported Bodies Video Series – 3. Repairing an Imported Model (Automatic Selection of Open Edges Using a Macro) [VIDEO]

In the first episode of this series I deleted a faulty face from an imported model, only to re-create it using the planar surface feature in the second episode. I hope you remember how cumbersome it was to select all those unconnected open loops in order to define the boundary of the new planar surface. Fortunately, any repetitive manual work could easily be performed by macros (the equivalent of industrial robots in SolidWorks). It actually took less than 5 minutes for my colleague Adam Bridgman, who is teaching the SolidWorks Visual Basic and the SolidWorks API courses here at Javelin, to write a macro for selecting all the open edges from a part. As you will see in the third video of this series, re-creating a planar surface with a…

Read More...

DriveWorks Tutorial: Specification Flow (5 of 5) – Release Documents [VIDEO]

Sometimes it is important to control who is allowed to see specifications in certain states or control who is allowed to perform certain transitions.  To control who is allowed see a state or transition in a specification we need to edit the originating state:

Read More...

DriveWorks Tutorial: Specification Flow (4 of 5) – State Conditions [VIDEO]

Sometimes it is important to control who is allowed to see specifications in certain states or control who is allowed to perform certain transitions.  To control who is allowed see a state or transition in a specification we need to edit the originating state: This…

Read More...

DriveWorks Tutorial: Specification Flow (3 of 5) – Adding Another State [VIDEO]

If another paused state is added then we can see the effect on the specification flow. To add an additional state to the workflow click Add State, call it middle

Read More...

Want to become a SOLIDWORKS Expert?

Take a LIVE Online Training Course from Javelin