VersaNote.Interop 1.13.0

dotnet add package VersaNote.Interop --version 1.13.0
                    
NuGet\Install-Package VersaNote.Interop -Version 1.13.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VersaNote.Interop" Version="1.13.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VersaNote.Interop" Version="1.13.0" />
                    
Directory.Packages.props
<PackageReference Include="VersaNote.Interop" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VersaNote.Interop --version 1.13.0
                    
#r "nuget: VersaNote.Interop, 1.13.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VersaNote.Interop@1.13.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VersaNote.Interop&version=1.13.0
                    
Install as a Cake Addin
#tool nuget:?package=VersaNote.Interop&version=1.13.0
                    
Install as a Cake Tool

Versa Note Interop

Enables programmatic interaction with the Versa Note add-in for SolidWorks. This interop is supported by Versa Note v1.28.0 and later.

First, get the Versa Note add-in object in SolidWorks using the Versa Note GUID:

public VersaNote.Interop.Addin VersaNoteAddin;

object vnObj = iSwApp.GetAddInObject("{BB75C0FD-3720-45E5-8B80-2ACB34900F7E}");
if (vnObj != null)
    VersaNoteAddin = new VersaNote.Interop.Addin(vnObj);

Before adding or modifying any notes, get a list of existing drawing notes on the specified sheet:

int sheetIndex = 1;
var sheetNotes = VersaNoteAddin.GetAllSheetNotes(sheetIndex);

To add a custom note at the end of the notes:

var addNoteResult = VersaNoteAddin.AddCustomNote(sheetIndex, "Hello world!");

Similarly, you can delete or update custom notes using DeleteCustomNote and UpdateCustomNote respectively.

By default, the notes displayed on the drawing are refreshed with each API call. If you need to make several API calls, you can suppress the refresh and explicitly refresh the notes when you are finished:

var updateNoteResult = VersaNoteAddin.UpdateCustomNote(sheetIndex, sheetNotes.Notes[0].Id, "Updated note text", suppressTableRefresh:true);
var deleteNoteResult = VersaNoteAddin.DeleteCustomNote(sheetIndex, sheetNotes.Notes[1].Id, suppressTableRefresh: true);

var refreshResult = VersaNoteAddin.RefreshNoteTables(sheetIndex);

In certain cases, notes with associated linked annotations may need to be linked to a different note (for example, if indented child notes are added to a parent note, e.g. note 7. becomes 7.1)

To get the list of linked annotations on the current sheet:

var linkedAnnotations = VersaNoteAddin.GetLinkedAnnotationsOnSheet(sheetIndex);

You can iterate through the list of linked annotations to determine if the current sheet contains annotations associated with a given note, and then re-assign those annotations to a new note:

var matchingItems = linkedAnnotations.ToList().FirstOrDefault(x => x.NoteId == parentNote.Id);

if (matchingItems.Count() > 0)
    VersaNoteAddin.UpdatedLinkedAnnotationsOnActiveSheet(parentNote.Id, childNote.Id);

The note number associated with the linked annotation will be updated automatically.

You can also open the Versa Note Editor from another application:

VersaNoteAddin.OpenEditor();

Or, use Versa Note to display toast notifications, which can be helpful to avoid overlapping notifications from multiple add-ins:

VersaNoteAddin.ShowToastNotification("Hello From Another Application", "We hope you are enjoying Versa Note!", NotificationType.Information);
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.13.0 0 1/30/2026
1.11.0 342 12/18/2025
1.10.0 391 11/30/2025
1.0.9 305 11/21/2025
1.0.8 314 11/11/2025
1.0.7 277 11/11/2025
1.0.6 236 11/3/2025
1.0.5 214 11/2/2025
1.0.4 194 11/2/2025
1.0.3 202 10/31/2025
1.0.2 207 10/30/2025
1.0.1 185 10/21/2025
1.0.0 189 10/21/2025

Added linkNote parameter to AddCustomNote and toggleLinkNote parameter to UpdateCustomNote methods