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…
Every page in the KEVOS library tagged CAD automation. 12 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 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…
Building SolidWorks add-in menus and toolbars through the Command Manager: callback registration, command groups, AddCommandItem2 parameters, enable methods, user identifiers an…
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…
Building SolidWorks Property Manager Pages: the handler interface, CreatePropertyManagerPage options and status checking, the control catalogue, identifier conventions, callback…
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…