I need to change countersunk holes in a welded structure to normal holes export the bodies in STEP format. Can someone point me a direction to do this? Can I search for the holes and change the 90º of the holes to 0.01º or something like that? I use VBA in the macros.
Thanks
SolidworksApi macros
Yes, it could be done with a macro. You can loop through each feature in the tree and check if it is a hole wizard hole. If it is a hole wizard hole, get the HoleWizardFeatureData and check if it is a countersink hole, change the countersink angle or make it a clearance hole. Then export bodies to step files.
I did it and it worked very well. I had to do an interface because some of the steps in the process needs intervention.