I have about 200 motors that I need to add a plane to on the shaft face circled below. Where would I start with writing a macro to add that plane to each motor?
I cant use the face number because it changes for each motor.
Could I use a bounding box and create a plane on one side of the bounding box?
Any help would be much appreciated.
The macro in this post seems like the best place to start.
https://forum.solidworks.com/thread/216974
Partially this would assume that the end of the shaft is the furthest from a selected plane (programmably select the Right plane).