2 Replies Latest reply on Jun 17, 2018 10:35 AM by Ivana Kolin

    Delete Drawing View Items: Detail Circle, Section Lines, Break Lines, etc.

    Ben Yoko

      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?