Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
BYBen Yoko15/06/2018
I'm trying to write a macro that cleans up my drawing sheet so that I can export a very simple outline of one specific view. Basically I need to delete all the views, except for one, and then delete all dimensions, notes, etc. remaining on that view. So far I'm able to get it to work fine on simple drawings, but I run into problems when there is a detail view. I can't figure out the api calls to delete the detail view, or even the detail circle. I'm assuming I will have the same problem with section and break lines as well. Even a selectall command won't grab these features to delete them. Does anybody know how to specifically select and delete a detail circle that is in a selected view with api calls?