Macro

Why Don’t My Macros Work in SolidWorks 2013?

Starting in SolidWorks 2013, a new version of Micosoft Visual Basic for Applications has been introduced.  SolidWorks now uses VBA 7.1 rather than VBA 6.  This new VBA version supports 64-bit systems.  As a result, your old macros may not compile correctly with this change. One example is Declare statements used in prior versions of SolidWorks.  These…

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: Related Posts Where did the Add Relation Breadcrumb Go? Can I…

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…

Read More...

How to use VBA Code with SolidWorks (and Override Save to Save Drawings as PDFs)

If you find a macro online, sometimes people will publish the source code rather than have you download a file. In this tech tip I will show you how to take that code, make a macro button and even set a hotkey for it. Watch the video at the end if any of these steps…

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: Related Posts Where did the Add Relation Breadcrumb Go? Can I…

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 is where most of the work on the specification flow…

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 Related Posts Where did the Add Relation Breadcrumb Go? Can I bring it back? SOLIDWORKS Smart Components are a Big Time Saver for Repetitive Assemblies…

Read More...

DriveWorks Tutorial: Specification Flow (2 of 5) – Transitions [VIDEO]

This workflow has all the required states, but no method to transition in between them.  The minimum number of transitions is one each way. Related Posts Where did the Add Relation Breadcrumb Go? Can I bring it back? SOLIDWORKS Smart Components are a Big Time Saver for Repetitive Assemblies SOLIDWORKS Mate References are a Huge…

Read More...

Want to become a SOLIDWORKS Expert?

Take a LIVE Online Training Course from Javelin