Add a Sketch on Front Plane - Solidworks-api Typing CST Test
Loading…
Add a Sketch on Front Plane — Solidworks-api Code
Creates a new sketch on the front plane.
Dim swSketchMgr As SketchManager
Set swSketchMgr = swPart.SketchManager
swPart.Extension.SelectByID2 "Front Plane", "PLANE", 0, 0, 0, False, 0, Nothing, 0
swSketchMgr.InsertSketch TrueSolidworks-api Language Guide
SolidWorks API is a COM-based programming interface that allows developers to automate, customize, and extend the SolidWorks CAD software, enabling tasks from simple macros to complex design automation and integration with external systems.
Primary Use Cases
- ▸Automate repetitive modeling or drawing tasks
- ▸Create custom add-ins for design processes
- ▸Integrate SolidWorks with PLM/ERP databases
- ▸Generate reports and BOMs automatically
- ▸Custom tools for design validation and rule enforcement
Notable Features
- ▸COM-based automation interface
- ▸Supports macros and standalone add-ins
- ▸Access to all SolidWorks document types (parts, assemblies, drawings)
- ▸Event handling for real-time customization
- ▸Extensive object model reflecting SolidWorks entities
Origin & Creator
Developed by Dassault Systèmes, with API support introduced alongside SolidWorks to enable customization and automation.
Industrial Note
Widely used in manufacturing, mechanical design, product lifecycle management, and custom engineering workflows to reduce design time and enforce company-specific standards.