Connecting to SolidWorks from Visual Studio in C# and VB.NET
Setting up a .NET project against the SOLIDWORKS interop assemblies, attaching to a running session, starting one when none exists, casting rules, and COM object lifetime discip…
Computing & Software articles in the KEVOS Engineering library. 20 pages.
Setting up a .NET project against the SOLIDWORKS interop assemblies, attaching to a running session, starting one when none exists, casting rules, and COM object lifetime discip…
The guard preamble every SOLIDWORKS tool needs, batch export of every drawing sheet to DXF, save options and error codes, reading document information, and the system-units trap.
How a SOLIDWORKS add-in is structured: the connect and disconnect contract, the add-in cookie, command groups and callbacks, COM registration and registry entries, clean removal…
How the SOLIDWORKS macro recorder works, what it omits, how to read recorded code, and how to write a reliable macro from scratch with proper references, guards and error handling.
A nine-part engineering reference to the SOLIDWORKS API: the object model, macros, .NET clients, selections, PropertyManager pages, traversal, custom properties, drawing automat…
A practitioner's account of SolidWorks add-in architecture: the ISwAddin contract, COM registration, the connect and disconnect lifecycle, callback cookies and disciplined relea…
Comparing SolidWorks add-ins and stand-alone applications: process model, API reach, notification support, debugging cost, distribution burden, a decision sequence and hybrid ar…
The COM registration path for a SolidWorks add-in: GUID and visibility attributes, the SwAddin descriptor, register and unregister hooks, the discovery and start-up registry key…
Building SolidWorks add-in menus and toolbars through the Command Manager: callback registration, command groups, AddCommandItem2 parameters, enable methods, user identifiers an…
Deployment options for SolidWorks add-ins: manual installation, archives, self-extracting packages and full installers; installer requirements definition, COM registration durin…
How to configure a .NET project for SolidWorks add-in development: class library selection, COM type-library references, namespace imports, COM-visible assembly settings and deb…
How SolidWorks notifications reach an add-in: application-level events, document event interfaces for parts, assemblies and drawings, re-hooking on document change, selection ha…
Taking a SolidWorks add-in to market: per-seat licensing and machine fingerprinting, self-implemented versus commercial licence management, product presentation, online and in-s…
A structured approach to SolidWorks add-in development: pre-development architecture decisions, interface-first modelling, skeleton builds, adding functionality in user-journey …
Building SolidWorks Property Manager Pages: the handler interface, CreatePropertyManagerPage options and status checking, the control catalogue, identifier conventions, callback…
Reading and writing SOLIDWORKS custom properties through the API: document-level versus configuration-specific managers, adding, updating, deleting, auditing, and treating the p…
Creating drawings from templates through the SOLIDWORKS API, generating standard view sets, walking sheets and views for auditing, and printing with control over ranges, copies …
Building PropertyManager pages through the SOLIDWORKS API: the handler interface, control identifiers, page and group options, selection boxes, and the full event lifecycle.
Recursive component traversal through configurations and root components, walking the feature and sub-feature chain, filtering by type name, reading suppression states and repor…
Using the SOLIDWORKS selection manager: marks and ordering, identifying picked entities, adding mates, setting materials, driving dimension values, programmatic selection and se…