Getting Started

<< Click to Display Table of Contents >>

Navigation:  Writing Plugins >

Getting Started

Previous pageReturn to chapter overviewNext page

The following assumes that you have installed either Visual Studio 2013 or 2015.

Run the WireCADv9ProjectTemplate.vsix template installer from C:\Users\Public\Documents\WireCAD\WireCAD9\WireCAD SDK\Visual Studio Templates Installer\WireCADv9ProjectTemplatesInstaller.vsix.

Launch Visual Studio

 

Study the examples by loading the All Project solution:

C:\Users\Public\Documents\WireCAD\WireCAD9\WireCAD SDK\Examples\All Projects.sln

 

When you want to create a new project to start your own plugin follow these steps:

 

Your First Plugin Project

1.Click File>New Project

new_vs_proj_zoom37

2.Select one of the C# WireCAD Project Templates

3.Name it something meaningful.

4.Click [OK] and a new solution will be created for you with all the necessary references and interface files.

5.Now start coding!

6.Click F5 to build your project and make sure that it builds and copies to c:\users\public\documents\WireCAD\WireCAD9\bin\YourPluginName.dll. If it does not build check to make sure that the Project Properties - Reference Paths section has a pointer to the above path.

7.If you are using a wpi file make sure that it is edited to point it to your dll and method and that you have copied it to  c:\users\public\documents\WireCAD\WireCAD9\Plugins\Active Plugins folder. Relaunch WireCAD or click [Rescan and Reload] from the WireCAD Plugin Manager to make WireCAD load your plugin.