i want to delete all saved views by batch process, i have 1000 pages.
This link has a sample VBA code…
https://communities.bentley.com/products/microstation/f/microstation-forum/174083/delete-all-saved-views/502408#502408
I check VBA but ist not working with me
Attach a sample dgn file so we can test. Here is another vba code snippet.
Sub delSV() Dim ele As SavedViewElement Dim ee As ElementEnumerator Set ee = ActiveDesignFile.NonModelElementCache.Scan Do While ee.MoveNext If ee.Current.IsSavedViewElement Then Set ele = ee.Current CadInputQueue.SendCommand "delete view " + ele.Name End If Loop End Sub
Answer Verified By: shakeel afridi
i checked but it's also not working
i don't no how to attached dgn sample.
thanks Mr. Leonard it's working