CODE YOU CAN BUILD ON

SOLIDWORKS macro library.

Practical examples for the tasks you do every day. Browse by topic or find the API call you need.

372 examples20 topicsFree access · No account required

Automation / Tools / Utilities

18 examples

Assemblies

29 examples

Custom properties

7 examples

Drawings

41 examples

Features

16 examples

Macro features

2 examples

Event notifications

11 examples

Opening and saving documents

4 examples

Parts Only

23 examples

Appearances and Materials

12 examples

PropertyManager pages

3 examples

Selection

8 examples

Sketching

12 examples

Bounding Boxes

4 examples

Transforms

10 examples

Traversing and locating objects

20 examples

Weldments and Sheet Metal

11 examples

Other

23 examples

VBA Language

12 examples

More examples

106 examples

Need something more specific?

Talk to our developers about custom SOLIDWORKS automation.

Discuss your project →