VersaNote.Interop 1.11.0

dotnet add package VersaNote.Interop --version 1.11.0
                    
NuGet\Install-Package VersaNote.Interop -Version 1.11.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.11.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VersaNote.Interop" Version="1.11.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.11.0
                    
#r "nuget: VersaNote.Interop, 1.11.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.11.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.11.0
                    
Install as a Cake Addin
#tool nuget:?package=VersaNote.Interop&version=1.11.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);

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.11.0 337 12/18/2025
1.10.0 389 11/30/2025
1.0.9 302 11/21/2025
1.0.8 314 11/11/2025
1.0.7 276 11/11/2025
1.0.6 236 11/3/2025
1.0.5 212 11/2/2025
1.0.4 192 11/2/2025
1.0.3 201 10/31/2025
1.0.2 206 10/30/2025
1.0.1 184 10/21/2025
1.0.0 188 10/21/2025

Added GetLinkedAnnotationsOnSheet and UpdatedLinkedAnnotationsOnActiveSheet methods