Tag
SolidWorks API
20 resources tagged “SolidWorks API” across the knowledge library.
20 items
Article4 Aug 2026Connecting to SolidWorks from Visual Studio in C# and VB.NETSetting 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 discipline.8 min readRead MoreArticle4 Aug 2026First SolidWorks Automation Tasks: Batch Export and Document InformationThe 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.8 min readRead MoreArticle4 Aug 2026SolidWorks Add-ins: Structure, Registration and DeploymentHow 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 and rollout.9 min readRead MoreArticle4 Aug 2026SolidWorks API Macro Fundamentals: Recording, Reading and WritingHow 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.9 min readRead MoreArticle4 Aug 2026SolidWorks API Programming and Automation: Series OverviewA nine-part engineering reference to the SOLIDWORKS API: the object model, macros, .NET clients, selections, PropertyManager pages, traversal, custom properties, drawing automation and add-in deployment.10 min readRead MoreGuide4 Aug 2026SolidWorks API: Add-in Architecture and the Integration ModelA practitioner's account of SolidWorks add-in architecture: the ISwAddin contract, COM registration, the connect and disconnect lifecycle, callback cookies and disciplined release of interop references.8 min readRead MoreGuide4 Aug 2026SolidWorks API: Add-in, Stand-alone or HybridComparing SolidWorks add-ins and stand-alone applications: process model, API reach, notification support, debugging cost, distribution burden, a decision sequence and hybrid architecture patterns.5 min readRead MoreGuide4 Aug 2026SolidWorks API: COM Registration and Add-in DiscoveryThe 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 keys, manual registration and common failure modes.7 min readRead MoreGuide4 Aug 2026SolidWorks API: Command Manager, Menus and ToolbarsBuilding SolidWorks add-in menus and toolbars through the Command Manager: callback registration, command groups, AddCommandItem2 parameters, enable methods, user identifiers and removal on disconnect.6 min readRead MoreGuide4 Aug 2026SolidWorks API: Deployment Methods and Installer EngineeringDeployment options for SolidWorks add-ins: manual installation, archives, self-extracting packages and full installers; installer requirements definition, COM registration during install, prerequisite checks and uninstall symmetry.6 min readRead MoreGuide4 Aug 2026SolidWorks API: Development Environment and Project ConfigurationHow to configure a .NET project for SolidWorks add-in development: class library selection, COM type-library references, namespace imports, COM-visible assembly settings and debugging against a live SolidWorks session.7 min readRead MoreGuide4 Aug 2026SolidWorks API: Event and Notification ArchitectureHow SolidWorks notifications reach an add-in: application-level events, document event interfaces for parts, assemblies and drawings, re-hooking on document change, selection handling and safe handler detachment.6 min readRead MoreGuide4 Aug 2026SolidWorks API: Licensing, Distribution and CommercialisationTaking a SolidWorks add-in to market: per-seat licensing and machine fingerprinting, self-implemented versus commercial licence management, product presentation, online and in-store distribution channels, reseller and franchise terms, and marketing.8 min readRead MoreGuide4 Aug 2026SolidWorks API: Planning, Structure and Debugging DisciplineA structured approach to SolidWorks add-in development: pre-development architecture decisions, interface-first modelling, skeleton builds, adding functionality in user-journey order, stepping and watching, and multi-machine testing.8 min readRead MoreGuide4 Aug 2026SolidWorks API: Property Manager Pages and the Control ModelBuilding SolidWorks Property Manager Pages: the handler interface, CreatePropertyManagerPage options and status checking, the control catalogue, identifier conventions, callback methods and correct teardown.8 min readRead MoreArticle4 Aug 2026SolidWorks Custom Properties and Configurations Through the APIReading and writing SOLIDWORKS custom properties through the API: document-level versus configuration-specific managers, adding, updating, deleting, auditing, and treating the property schema as a controlled document.8 min readRead MoreArticle4 Aug 2026SolidWorks Drawing Automation: Creation, Views and PrintingCreating drawings from templates through the SOLIDWORKS API, generating standard view sets, walking sheets and views for auditing, and printing with control over ranges, copies and devices.7 min readRead MoreArticle4 Aug 2026SolidWorks PropertyManager Pages: Building Native User InterfaceBuilding PropertyManager pages through the SOLIDWORKS API: the handler interface, control identifiers, page and group options, selection boxes, and the full event lifecycle.9 min readRead MoreArticle4 Aug 2026Traversing SolidWorks Assemblies and Feature TreesRecursive component traversal through configurations and root components, walking the feature and sub-feature chain, filtering by type name, reading suppression states and reporting results.8 min readRead MoreArticle4 Aug 2026Working with Selected Objects in the SolidWorks APIUsing the SOLIDWORKS selection manager: marks and ordering, identifying picked entities, adding mates, setting materials, driving dimension values, programmatic selection and selection filters.9 min readRead More
