
Curriculum
Master SOLIDWORKS Automation using C# and the API. This course covers core programming, advanced feature/drawing creation, assembly manipulation, and FeatureManager traversal. You will gain hands-on expertise through extensive exercises and projects, moving from basic macro recording to professional Visual Studio development for independent CAD automation.
Topics Covered
-
Introduction to SolidWorks Automation
-
Introduction to C# Programming
-
C# Programming fundamentals
-
Macro recording
-
API object interfaces
-
SolidWorks APIs help
-
API interface members
-
How macro code works
-
SolidWorks Application object
-
SolidWorks Document object
-
SolidWorks API calls
-
Passing parameters
-
Code cleanup
-
debugging code
-
Getting started with Visual Studio
-
API object model
-
Connecting to new documents
-
ModelDoc2
-
PartDoc, AssemblyDoc, DrawingDoc
-
Connecting to existing documents
-
System options and Document properties
-
Creating sketch
-
Creating features
-
Assigning Materials
-
Reference geometry features
-
Transformation in assembly
-
Math transforms, transformation matrix
-
Activating documents
-
Object collections
-
Getting curve parameters
-
Getting adjacent faces
-
Adding components, adding mates
-
Getting configuration names
-
Creating sheets, views
-
Traversing drawing views
-
Inserting Annotations
-
Saving drawings in different formats
-
Drawing commands
-
Annotation commands
-
Layer commands
-
Line format commands
-
Programming with selected object
-
SelectionManager
-
Modifying feature data properties
-
Accessing feature data object
-
Traversing topology and Geometry
-
Body and face traversal
-
Face material properties
-
Traversing the FeatureManager
-
Feature names and types
-
Custom properties
-
CustomPropertyManager object
-
Configurations with Custom properties
-
Document attributes
-
Attribute objects
-
Face attributes
-
SolidWorks API SDK
-
Customizing SolidWorks UI
Assignments:
-
Create list of repetitive tasks
-
Recording a macro
-
Adding button control
-
Adding user input field
-
Working with new document
-
Working with existing document
-
Changing system options
-
Changing document properties
-
Creating sketch
-
Creating feature
-
Adding components
-
Adding drawing views
-
Adding annotations
-
Handling selected face
-
Handling selected object
-
Adding mass properties
Bonuses:
-
Object Orientated Programming Course
-
8 Coding challenges
-
8 SolidWorks APIs challenges
-
3 Capstone Projects
-
AI driven fast coding technique


