SOLIDWORKS  API TRAINING COURSE AGENDA

SOLIDWORKS  API TRAINING COURSE AGENDA

X
Enquire Now
PRE-REQUISITES FOR API
  • Mechanical Design Knowledge
  • Experience with Windows Operating System
  • Knowledge of Visual Basic will be added Benefit
LESSON 1: INTRODUCTION
  • Introduction about the course
  • What is API
  • What is VBA
LESSON 2: SOLIDWORKS VBA
  • SolidWorks VBA interface
  • File Types
  • Option settings
LESSON 3: VBA BASICS
  • Structure of code
  • Entry and exit procedure for code
  • Constants
  • variables
  • Data Types
LESSON 4: OPERATORS IN VBA
  • Arithmetic operators
  • Conditional operator
  • Logical operators
LESSON 5: STATEMENTS USED IN VBA
  • Conditional statements
  • Looping statements
  • Functions and Procedure
LESSON 6: SOLIDWORKS BASIC FOR API
  • Creating Sample Part
  • Using sketch entities
  • Using relations
  • Using 3D Features
  • Creating Assembly
  • Inserting Components
  • Using mates
  • Creating Drawing
  • Creating views
  • Using Annotations
SOLIDWORKS API
Lesson 8: Using the Macro Recorder
  • Macro Recording
  • Macro Toolbar
  • Case Study: Recording A Macro
  • Understand how macro code works
  • Cleaning Up Code
  • Debugging the code
  • Adding Forms to a Macro
  • Exercise 1: Recording a Macro
  • Exercise 2: Adding Macro Code to a VBA Button Control
  • Exercise 3: Adding User Input Fields on a VBA Form
Lesson 9: The API Object Model
  • SOLIDWORKS API Object Model
  • Visual Basic Automatic Type Casting
  • Application Objects
  • Sldworks Object
  • SOLIDWORKS 2017 Type Library
  • IntelliSense Early vs. Late Binding
  • Case Study: Connecting to New Documents
  • Case Study: Connecting to Existing Documents
  • Exercise 4: Working with New Documents
  • Exercise 5: Working with Existing Documents
Lesson 10: Setting System Options and Document Properties
  • User Preferences - System Options Setting
  • Checkboxes Setting Textboxes with Integers
  • Setting Textboxes with Doubles
  • Setting Textboxes with String Values
  • Setting List boxes Setting Radio Buttons
  • Setting Slider Bars
  • User Preferences - Document Properties
  • Locating the Correct APIs and Enumeration Values
  • User Preference Tables for System Options
  • Document Properties and Menu Items
  • Exercise 6: Change Multiple System Options
  • Exercise 7: Change Multiple Document Properties
Lesson 11: Automating Part Design
  • Case Study: Automation Tool for Parts
  • Setting Material
  • Creating the Sketch Rectangle
  • Adding Dimensions
  • Selection on Creation
  • Creating the Sketch Circle
  • Creating Extruded Features
  • Enabling Contour Selection for the Extrusion
  • Creating Revolved Features
  • Standard Commands
  • View Commands
  • Sketch Commands
  • Sketch Tools Commands
  • Features Commands
  • Sketch Relations Commands
  • Reference Geometry Commands
  • Exercise 8: Automating the Part Creation Process
Lesson 12: Assembly Automation
  • Case Study: Automation Tool for Assemblies
  • Transforms
  • Creating Math Transforms
  • The Transformation Matrix
  • Activating Documents
  • Invisible Documents
  • Object Collections
  • Establishing the Curve and Edge Collections
  • Establishing the Face Collection
  • Getting Adjacent Faces
  • Establishing the Points Collection
  • Getting Curve Parameters
  • Adding and Mating the Knobs to the Chassis
  • Adding Components
  • Adding Mates
  • Exercise 9: Adding Components
Lesson 13: Drawing Automation
  • Case Study: Automating Drawing Creation
  • Getting Configuration Names
  • Creating Sheets
  • Creating Views
  • Traversing Drawing Views
  • Inserting Annotations
  • Saving Drawings in Different Formats
  • Drawing Commands
  • Annotation Commands
  • Layer Commands
  • Line Format Commands
  • Exercise 10: Drawing Automation
Lesson 14: Selection and Traversal Techniques
  • Case Study: Programming with a Selected Object
  • Selection Manager
  • Accessing the Selection Manager
  • Counting Selected Objects
  • Accessing Selected Objects
  • Getting Selected Object Types
  • Getting Feature Type Names
  • Feature Data Objects
  • Accessing the Feature Data Object
  • Accessing Selections
  • Releasing Selections
  • Modifying Feature Data Properties
  • Modify the Object Definition
  • The SOLIDWORKS BREP Model
  • Traversing Topology and Geometry
  • Case Study: Body and Face Traversal
  • Returning a List of Body Pointers
  • Face Material Properties
  • Case Study: Feature Manager Traversal
  • Traversing the Feature Manager Design Tree from the Top
  • Displaying Feature Names and Types
  • Setting Feature Suppression
  • Setting Feature UI State
  • Obtaining a Feature by Feature Manager
  • Design Tree Position
  • Exercise 11: Handling Preselection 1
  • Exercise 12: Handling Preselection 2
  • Exercise 13: Traversing the Feature Manager Design Tree
Lesson 15: Adding Custom Properties and Attributes
  • Case Study: Custom Properties
  • Adding Custom Properties to a SOLIDWORKS Document
  • Custom Property Manager Object
  • Setting and Getting Custom Property Values
  • Getting Custom Property Names
  • Getting the Custom Property Count
  • Case Study: Configurations with Custom Properties
  • Returning Mass Properties from a SOLIDWORKS Model
  • Using the API to Return the Mass Properties
  • Case Study: File Summary Information
Lesson 16: The SOLIDWORKS API SDK
  • The API SDK
  • Installing the SDK
  • Case Study: Creating a VB.NET Add-In
  • References
  • Comparing Addin DLLs and Stand-Alone Executables
  • Loading and Running an Add-in Application
  • Case Study: Creating a C# Add-in
  • Case Study: C++ Add-Ins
  • Compiling a C++ Add-In
  • Loading the C++ Add-In
  • Debugging the C++ Add-in
  • Choosing a Programming Language
Lesson 17: Customizing the SOLIDWORKS User Interface
  • Case Study: Customizing the UI With VB.NET
  • Debugging the DLL
  • Debugger Keyboard Shortcuts
  • Understanding The Add-in Code
  • Importing Namespaces
  • The Add-in Class
  • Understanding the GUID
  • Connecting to SOLIDWORKS
  • Bidirectional Communication
  • Setting Callback Information
  • Custom Menus
  • Custom Command Items
  • Command Tabs
  • Command Tab Boxes
  • Command Tab Box Commands
  • Creating and Adding Custom Toolbars to an Add-in
  • Creating the Toolbar Bitmaps
  • Adding Toolbar Bitmaps to a VB.NET Solution
  • PropertyManager-Page2
  • PropertyManager-Page2Handler8
  • Creating a Property Manager Page
  • Property Page Groups and Controls
  • Adding Group Boxes
  • Group and control IDs
  • Adding Controls
  • Adding Picture Labels to Controls
  • Removing Menus and Toolbars
  • Other Areas of Customization
  • Custom Status Bars
  • Custom Pop-up Menus
  • Custom Model View Windows
  • Exercise 16: Implement a New Menu
  • Exercise 17: Implement Toolbar Buttons
  • Exercise 18: Implement Controls on a Property Manager Page
Lesson 18: Notifications
  • Notifications in VBA
  • Case Study: Simple Notification
  • The Class Module
  • Case Study: Using Notifications in .NET
  • The Add Handler Keyword
  • The Address of Keyword
  • The Event Handler Classes
  • The Document Event Handler Class
  • Attaching the Document Event Handlers
  • Inheritance
  • Polymorphism
  • The Derived Event Handler Classes
  • The Doc View Class
  • Detaching the Document and Model View Event Handlers
  • Detaching the SOLIDWORKS Event Handlers
  • Interfaces That Support Notifications
  • Exercise 19: Handling Events Using the Add-in Wizard Solution