- What the Certified SOLIDWORKS Professional API Credential Actually Is
- The 18-Task, 10-Question Exam Format
- Fee, Delivery and Retake Mechanics
- The 15 Issuer-Listed Objectives, Grouped by Skill
- A VBA-First Path for CAD Users Without a Programming Background
- Reading the Object Model and the API Help
- Where the Macro Recorder Helps and Where It Fails
- Original Practice Macros and Result Checks
- Sequencing Your Preparation by Objective
- VBA Exam Prep vs. C# Add-Ins vs. PDM API
- Career Value Through Demonstrated Automation
- Frequently Asked Questions
- The exam has 28 questions: 18 hands-on automation tasks and 10 multiple-choice questions, worth 100 points total.
- You need 70 points to pass within 120 minutes, and the exam cannot be paused once started.
- The exam focuses on Visual Basic for Applications (VBA); no prior certification is required to sit it.
- The official guide's practice sample has only four multiple-choice questions, so you must build your own hands-on practice.
What the Certified SOLIDWORKS Professional API Credential Actually Is
The CSWP-API is the SOLIDWORKS API Professional certification issued by SOLIDWORKS, a Dassault Systemes brand. It tests whether you can drive SOLIDWORKS through code rather than through the user interface. That means writing and debugging Visual Basic for Applications (VBA) macros that create sketches, features, drawings and bills of materials, then save and close the results.
Because several unrelated credentials in other industries abbreviate to similar letters, it helps to be precise: this article is only about the SOLIDWORKS API exam. If you are still orienting yourself, the explainers on what CSWP-API is and what CSWP-API stands for cover the naming, while this guide goes deeper into how the exam works and how to prepare for it.
The credential sits alongside the broader CSWP design certification family but is a separate exam with its own scope. If you are weighing it against the design-focused credential, note that the API exam measures programming-driven automation skill, not modeling speed. Anyone who models well in SOLIDWORKS still has to demonstrate they can reproduce that work through the object model.
The 18-Task, 10-Question Exam Format
According to the issuer-linked SOLIDWORKS Certification Exam Guide & Practice Test, the exam contains 28 questions split into two types:
- 18 hands-on automation tasks where you write or fix code that performs real work inside SOLIDWORKS.
- 10 multiple-choice questions that test your knowledge of the object model, method behavior and troubleshooting.
The total is 100 points, you need 70 to pass, and you have 120 minutes. The exam page confirms the two-hour duration, the 70% passing grade and the VBA focus. For a closer look at how that threshold works, see the CSWP-API passing score breakdown.
The Limited Official Sample
The official guide includes a practice sample, but it contains only four multiple-choice questions. It is not a complete 28-question mock exam, and it contains none of the hands-on tasks. Treat it as a format preview, not as a readiness test. Everything about the automation tasks, you will need to rehearse with your own fixtures and macros, which is the approach laid out later in this article. For a calibrated sense of difficulty, read how hard the CSWP-API exam is.
Fee, Delivery and Retake Mechanics
| Item | What the issuer states |
|---|---|
| Exam fee | US$49 for one North American attempt, excluding software and training |
| Delivery | SOLIDWORKS exams through Tangix/VirtualTester; follow the current VirtualTester Web Client instructions |
| Proctoring | Non-proctored online exam using your own working commercial or student software and Internet connection |
| Minimum software | SOLIDWORKS 2017 or later |
| Duration | 120 minutes; the exam cannot be paused |
| Retakes | Require a new CSWP-API credit and at least a 14-day wait |
| Prerequisites | None required; no prior certification needed |
| Validity | Per the issuer's 2020 Q&A, customer and student certifications do not expire |
A few practical notes. The guide describes older TesterPRO installation and crash-recovery language, but the current browser-client and recovery instructions take precedence, so read the current VirtualTester Web Client procedure before exam day rather than relying on the PDF guide. Because the exam is non-proctored and uses your own installation, your environment is part of the test: confirm your SOLIDWORKS version launches cleanly, your VBA editor opens, and your connection is stable before you pay for an attempt.
Pricing details beyond the base fee, and what is and is not included, are explained in the CSWP-API certification cost breakdown. Eligibility questions are covered in the CSWP-API requirements guide, and scheduling in the exam dates guide.
The 15 Issuer-Listed Objectives, Grouped by Skill
The issuer publishes 15 exam objectives, unweighted, and explicitly describes the task list as non-exhaustive. There are no official percentage weights, so any claim about how many questions come from a given objective would be invented. What you can do is group the objectives by the skill they exercise. Some overlap by design: the drawing headings, for example, repeat related ideas as written by the issuer.
Foundation: Object Model and Troubleshooting
Domain 1 (Understanding the API Object Model) and Domain 2 (Troubleshooting) underpin everything else.
- Know how the application object leads to documents, then to features, sketches, views and components.
- Be able to read a failing macro, spot a null object or wrong cast, and fix it quickly.
Modeling Automation
Domain 3 (Part design automation), Domain 6 (Adding sketch entities and dimensions) and Domain 7 (Feature creations such as extrudes and cuts).
- Open a sketch, add geometry and dimensions, close the sketch, then build a feature from it.
- Understand which selections a feature call requires before it will succeed.
Assembly Automation and Component States
Domain 5 (Assembly automation) and Domain 9 (Hide/Suppress/Resolve components).
- Traverse the component tree and change component states programmatically.
- Distinguish suppressed, lightweight and resolved states and their effect on what you can access.
Selection and Traversal
Domain 8 (Selection and traversal techniques).
- Select entities by name, by type and by walking the feature tree or body geometry.
- Know how selection marks and the selection manager interact with API calls.
Drawing Automation
Domain 4 (Drawing Automation), Domain 10 (Creation of drawings), Domain 11 (Insert drawing views), Domain 12 (Insert a BOM) and Domain 13 (Save drawings in different file formats).
- Create a drawing from a template, place views of a model, insert a BOM and export to other formats.
- Expect these headings to overlap; study them as one connected workflow.
Data and Housekeeping
Domain 14 (Add custom properties) and Domain 15 (Save and close documents).
- Read and write custom properties reliably, including at the configuration level where relevant.
- Save and close cleanly so later steps and repeat runs do not hit locked or stale documents.
For a deeper walkthrough of each area, see the complete guide to all 15 CSWP-API content areas. Because the list is non-exhaustive, practice neighboring tasks as well: if you can create an extrude, also try a revolve; if you can insert a BOM, also try changing its anchor or table type.
A VBA-First Path for CAD Users Without a Programming Background
Many successful candidates are strong SOLIDWORKS users who have never programmed. The exam is VBA-focused, which is a forgiving entry point: the editor ships inside SOLIDWORKS, requires no separate toolchain, and runs your macros directly against the open session. A sensible order for a non-programmer:
- Learn the language basics you will actually use: variables and types, Dim and Set, If/Else, For and For Each loops, Sub and Function, and basic error handling. You do not need advanced patterns.
- Understand objects versus values. The most common beginner failure is treating an object like a simple variable. Objects need Set; values do not.
- Get comfortable with the VBA editor: breakpoints, stepping with F8, the Locals and Watch windows and the Immediate window. These are your debugger, and the Troubleshooting objective leans on them.
- Layer in SOLIDWORKS concepts: after you can write a small loop and call a method, start opening documents and creating geometry.
Key Takeaway
Do not try to learn all of VBA first. Learn just enough syntax to read and edit a macro, then spend most of your time inside the SOLIDWORKS object model, which is where the exam lives. The official SOLIDWORKS API Fundamentals course is recommended preparation, but its three-day length is separate from the two-hour exam and is not a required number of training hours.
If you want a structured plan around this, the CSWP-API study guide lays out a broader preparation sequence, and the CSWP-API training overview compares learning options.
Reading the Object Model and the API Help
The single most valuable exam skill is navigating the SOLIDWORKS API Help quickly. You cannot memorize every method, but you can learn how the documentation is organized and how objects connect. Practice this loop until it is automatic:
- Identify the object you are holding (for example, a model document or a feature).
- Look up that interface and scan its methods and properties for the action you need.
- Check the "Remarks" and "Accessories" sections for related objects and prerequisites.
- Check the return type and whether it returns a boolean, an object or a status code you must test.
Interfaces and Casting
SOLIDWORKS exposes generic interfaces and more specific ones. A model document may need to be treated as a part, assembly or drawing to reach type-specific methods. Misunderstanding this produces runtime errors that look mysterious until you recognize the cast problem. This is core to the first objective, Understanding the API Object Model, and recurs in nearly every hands-on task.
Return Values Matter
Many API calls return a boolean or a numeric error code rather than throwing an exception. A macro that never checks the result can appear to run while silently doing nothing. Build the habit of testing returns and verifying the outcome, for instance by checking that a feature count increased after a feature call.
Where the Macro Recorder Helps and Where It Fails
The macro recorder is a good way to discover which API calls correspond to a UI action, but it has real limits you should understand before relying on it:
| Recorder Strength | Recorder Limitation |
|---|---|
| Reveals the method names behind a UI action | Often records selection by screen coordinates that will not work on a different model |
| Produces a runnable starting point quickly | Generates verbose, hard-coded code with no error checking |
| Good for finding feature-creation call signatures | Does not capture logic, loops or conditions |
| Helps you discover unfamiliar parameters | Output must be cleaned and generalized before it is reliable |
Use the recorder to find the call, then rewrite it yourself with proper selection and checks. On the exam, you will be asked to produce working automation, not to replay a recording, so being able to replace recorded selection with named or traversal-based selection is the real skill.
Original Practice Macros and Result Checks
Because the official sample has no hands-on content, the best preparation is building your own small fixtures and macros, each with a clear pass/fail check. Below are practice exercises you can build yourself. They are original practice patterns, not recollections of live exam content.
Exercise 1: Create a Block, Verify It
- Task: Create a new part, sketch a rectangle on the front plane with set dimensions, extrude it to a chosen depth.
- Result check: Confirm the feature tree contains the sketch and extrude, and compare the body's bounding box to your intended dimensions.
Exercise 2: Traverse and Report Features
- Task: Open a model with a dozen features and loop through the feature tree, printing each feature's name and type to the Immediate window.
- Result check: Your printed list should match the feature tree you see on screen, in order.
Exercise 3: Suppress and Resolve Components
- Task: In a small assembly, loop through components, suppress every component whose name contains a chosen string, then restore them.
- Result check: Count components by state before and after, and confirm the counts change and then return to the original.
Exercise 4: Drawing from a Model
- Task: Create a drawing from a template, insert standard views of a part, insert a BOM for an assembly, and save the drawing in a different file format as well as the native one.
- Result check: Confirm view and table counts in code, then check that both output files exist on disk.
Exercise 5: Custom Properties and Clean Exit
- Task: Add several custom properties to a part, read them back, save the document and close it without leaving it open in the session.
- Result check: Reopen the file and confirm the values persisted; confirm the document is no longer in the open-documents list after closing.
Sequencing Your Preparation by Objective
If you only schedule one thing, schedule the order of objectives. Dependencies matter: you cannot automate drawings well until you understand opening, saving and selecting. A sensible four-week order:
Object model, troubleshooting, VBA basics
- Domains 1 and 2: connect application, document and feature objects; practice breakpoints and the Immediate window.
- Write tiny macros that open, report and close documents.
Part automation
- Domains 3, 6 and 7: sketches, dimensions, extrudes and cuts.
- Domain 8 begins here: replace recorded selection with named and traversal-based selection.
Assemblies and drawings
- Domains 5 and 9: component traversal and suppress/hide/resolve states.
- Domains 4, 10, 11, 12 and 13: drawing creation, views, BOM and export formats.
Data, housekeeping and timed rehearsal
- Domains 14 and 15: custom properties, saving and closing.
- Run a full two-hour self-test combining tasks and multiple-choice review.
Adjust the pace to your background; a working programmer may compress Week 1, while a pure CAD user may stretch it. Self-testing is easier with a consolidated reference, and the CSWP-API cheat sheet is a handy one-page companion, while the CSWP-API practice test site offers question practice for the multiple-choice portion.
VBA Exam Prep vs. C# Add-Ins vs. PDM API
Search results for SOLIDWORKS API content mix several different skill sets, and it is easy to waste study time on the wrong one. Keep the boundaries clear:
| Area | Relevance to this exam |
|---|---|
| VBA macros inside SOLIDWORKS | The exam's stated focus; this is what you should practice |
| C# or VB.NET add-ins | Valuable professionally, but the exam page emphasizes VBA, so it is not the core of preparation |
| PDM API | A separate product area; not part of the 15 listed objectives |
| General UI modeling skill | Helpful context, but not a substitute for coding practice |
Free third-party tutorials such as those published by CodeStack and other API communities are excellent for learning syntax and patterns, but they cover far more than the exam requires, including add-in development. Use them selectively against the 15 objectives. Competitor resources vary widely: some focus directly on exam advice, others on broad API training or on course listings, so verify any claim about what a resource covers against the issuer's objective list rather than assuming it maps to the exam.
Career Value Through Demonstrated Automation
The most defensible way to think about return on this credential is through the automation you can demonstrate, not through a promised salary bump. No verified figure ties this certification to a specific pay increase, so be skeptical of any source that offers one. What the credential reliably signals is that you can turn repetitive CAD work into code, which is valuable wherever teams generate many similar parts, drawings or BOMs.
Roles that tend to benefit include design engineers who maintain templates and standards, CAD administrators, application engineers at resellers and engineers who build configurators or release tools. To make the credential count, pair it with a portfolio of two or three real automations: a drawing-creation macro, a custom-property writer, a batch exporter. Those artifacts speak louder in an interview than the certificate alone.
For deeper analysis, see the worth-it ROI analysis, the discussion of earnings considerations and the overview of CSWP-API jobs. If you want to practice before committing to an attempt, the main practice test site is a good starting point.
Key Takeaway
Since published pass rates were not verified and the 70% passing grade is a score threshold rather than a pass rate, do not use either as a difficulty gauge. Measure readiness instead by whether you can complete your own hands-on exercises, unaided and under time pressure.
Frequently Asked Questions
The issuer-linked guide specifies 28 questions: 18 hands-on automation tasks and 10 multiple-choice questions, for 100 total points. You need 70 points to pass within 120 minutes.
No. No prior certification is required. SOLIDWORKS Design Essentials and API Fundamentals are recommended preparation, but training courses are not admission requirements.
The exam page emphasizes Visual Basic for Applications (VBA). C# add-in development and PDM API work are different skill areas and are not the core of the exam's 15 listed objectives.
A retake requires a new CSWP-API credit and a wait of at least 14 days. The exam cannot be paused, so plan an uninterrupted two-hour window for each attempt.
According to the issuer's 2020 Certification Program Q&A, customer and student certifications do not expire. Check the current SOLIDWORKS certification program pages for any later policy changes.