Hide/show detail views

Is it possible to hide and show detail views automaticly when needed. Like there are equations in 3d modeling, is there something like this in 2d ?

SolidworksDrawings And Detailing