API: Registering your Add-In as a Certified Gold Add-In or Solution Partner Add-in

Document created by Dan Seaman Employee on Sep 25, 2020Last modified by Dan Seaman Employee on Oct 6, 2020
Version 2Show Document
  • View in full screen mode

Starting with SOLIDWORKS 2021, Certified Gold Solution Partners and Certifies Solution Partners can register their add-ins for greater prominence in the Add-In Manager Dialog.

 

SOLIDWORKS 2021 Add-In Manager Dialog

 

Eligibility:

Only current Certified Gold Partners and Certified Solution Partners are permitted to register their add-ins in this manner.

Each partner must request a Certified Partner Key from the Partner Team [partners@solidworks.com].

 

For more information about joining the SOLIDWORKS Partner Program, please visit https://www.solidworks.com/sw/partner_programs.htm.

 

Implementation:
  1. Modify the add-in's registry data to include a new REG_DWORD value where <GUID> is your add-in class's CLSID:

HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\AddIns\{GUID}\DesktopAddinType

The registered value should be 1 for Certified Gold Partner Add-ins or 2 for Ceritifed Solution Add-ins.

  1. Implement the ISwPEManager interface on your existing SOLIDWORKS add-in class.
  2. Within your implementation of ISwPEManager::IdentifyToSW, call ISwPEClassFactory::SetPartnerKey to identify your add-in to SOLIDWORKS using the key provided by the Partner Team.

 

Please refer to the attached files to sample source code.

 

Compatibility:

Requires SOLIDWORKS 2021 or later.

Add-ins registering as Gold Partner or Solution Partner add-ins will still load in earlier versions of SOLIDWORKS but will be listed under 'Other Add-ins' as before.

SOLIDWORKS 2020 Add-In Manager Dialog

Note:
- Subscription Services required for full access.

- Looking for more API Examples?

 

Copyright 2020 Dassault Systèmes SolidWorks Corp. All rights reserved.
Do not distribute or reproduce without the written consent of Dassault Systèmes SolidWorks Corp.

Outcomes