Hide Table of Contents

SolidWorks C# and VB.NET Project Templates

This topic describes the SolidWorks C# Project Template and SolidWorks VB.NET Project Template for add-ins created using Microsoft Visual Studio .NET 2005 and 2008. These project templates are included in the SolidWorks API SDK.

After installing the SolidWorks API SDK, to create a:

  • C# add-in in Microsoft Visual Studio .NET 2005 or 2008, create a new C# project and select SwCSharpAddin in My Templates.

  • VB.NET add-in in Microsoft Visual Studio .NET 2005 or 2008, create a new VB.NET project and select SwVBAddin in My Templates.

The SolidWorks API SDK also includes SolidWorksTools.dll. If your add-in uses this DLL, you do not have to redistribute it because it is distributed with SolidWorks. This DLL is registered in Global Assembly Cache (GAC).

When you examine the project templates, you will see the following two references to this DLL:

using SolidWorksTools

using SolidWorksTools.File

Currently this DLL contains the SolidWorks bitmap handler class, BitmapHandler, which is based on the SolidWorks CommandManager and which is available to you to use. Use either the Microsoft Visual Studio .NET 2005 or 2008 Object Browser or Intellisense to see its members.



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SolidWorks C# and VB.NET Project Templates
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.