Hi,
I am trying to clear any dimension on a specific drawing view. I tried with outline to get the bounding box of the view then
swApp.SetSelectionFilter 14, and then using the SketchBoxSelect to select the dimensions. However, it always deletes the view with it even if the filter is on!
Any idea how to approach this is welcome!
thanks!
Just use IView.GetDisplayDimensions to get all the dimensions in a view.
Then for each DisplayDimension in the list, call GetAnnotation to get an IAnnotation object.
Finally call IAnnotation.Select3
Then you can delete the selected dimensions.