TempoVis now should take care of it. This was originally done to stop Drawing and TechDraw views pop up when closing a sketch the drawing depends on. Now, TempoVis show_xxx and hide_xxx methods should auto filter out objects that are not in 3d view.