Tag
CAD automation
12 resources tagged “CAD automation” across the knowledge library.
12 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 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: 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: 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: 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 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
