Hi Ken,
[quote user="Ken Adams"]But in years past that has not been the most reliable technique for me if the drawing has had any corruption in it.[/quote]
Well, if data are corrupted, no code can work correctly, so a question is of the right problem is discussed.
[quote user="Ken Adams"]What I would prefer is something that would scan what I want to delete. [/quote]
I don't see any difference between to scan what to keep and to scan what to delete (which I guess is not possible). If you receive a list of what to keep, you can iterate graphical elements in the model again to create inverse list and to analyze if the elements are correct. I agree it requires more time.
[quote user="Ken Adams"]Or is there a better way to accomplish this?[/quote]
I am not sure if it's better, but you can create a fence from view and using a proper fence mode, to process it's content. A disadvantage of this approach is, I guess, it can be used in graphic mode only, so e.g. not if your application is INITAPP.
[quote user="Ken Adams"]BTW, I am on Microstation SS3.[/quote]
It's not BTW! :-) According to MicroStation Programming Best practices a title of this post should be [V8i C] and in the post content you should mention exact build name, because SS3 can be whatever from an original SS3 release to Update 2.
With regards,
Jan