API: Quick command line script to register a .NET add-in

File uploaded by Joyce Bossom Employee on Oct 27, 2010Last modified by Joyce Bossom Employee on Jan 2, 2013
Version 3Show Document
  • View in full screen mode

This script is useful when you want to quickly register a SolidWorks .NET 2.0 add-in with regasm.exe, but regasm.exe is not on your system path,
you don't know where regasm.exe is installed, or you can't open a Visual Studio Command Prompt.


  1. Place the registerAddin.js in a common directory that is on your system path (e.g., C:\).
  2. From a command prompt type:

           registerAddin addin_name.

- Subscription Services required for full access.

- Looking for more API Examples?


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