Professional Documents
Culture Documents
: 3DS_Document_2020
Takeaways
Recognize how quickly one can write a powerful macro.
Learn how to navigate the SOLIDWORKS API local help.
Understand the SOLIDWORKS API object model.
This presentation assumes you have basic familiarity with programming.
2
Case Study
In 2015, a student from California Polytechnic State University emailed me
with this problem:
© Dassault Systèmes | Confidential Information | 2/16/2021 | ref.: 3DS_Document_2020
“I have an imported model of a skull with 300 points on the surface one point
near the center. All points are in the same sketch. I need to create an extrude
cut along the line between each of these surface points and the center point.
This will result in roughly 300 holes in the skull.”
I was not provided with a skull model, so I simply used a sphere as I tested
the code that I wrote. Let’s see how I wrote it…
3
Feedback
Your code worked perfectly! I tweaked it a bit and then seamlessly
combined it
with what I already had completed. Thank you so much for your support! Your
© Dassault Systèmes | Confidential Information | 2/16/2021 | ref.: 3DS_Document_2020
Questions?