ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
RSRomeo Simon30/07/2024

Hello everyone,

I want to create a drill hole with VBA in SOLIDWORKS CAD. I've recorded a macro, but my problem is it does not create the hole if I set the hole type to drill/dowel type. Other case, If I set to a screw type my recorded macro does the job really well.

So I'm asking how to create a Ø7.0 hole by VBA macro? Below is my code that is not working, and another one, that works. Can somebody tell