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.