Welcome

Automating mates in assemblies using SOLIDWORKS API

Edit ArticleEdit Article

Mating assembly components via API
Mating assembly components via API

Assembly components can be mated programmatically via IAssemblyDoc::AddMate3 SOLIDWORKS API method (or newer versions of this method).

It is required to mark the selected objects with different marks for the different mate types. Please refer the SOLIDWORKS API help documentation for the values of marks for a specific mate or use SOLIDWORKS macro recorder to capture the correct mark.

Notifications

Join session by SOLIDWORKS and PDM API expert Artem Taturevych at 3DEXPERIENCE World 2026 on Wednesday, Feb 4 at 08:30 AM CST to explore 10 essential macros for automating drawings, assemblies, custom properties, and more


Product of Xarial Product of Xarial