/// \return boolean value
static bool hasVisualizedBodies(ModuleBase_IWorkshop* theWorkshop);
- /// Returns if the preview was displayed
+ /// Returns true if there is at least one Sketch visualized in the viewer
/// \param theWorkshop the application workshop
/// \return boolean value
+ static bool hasVisualizedSketch(ModuleBase_IWorkshop* theWorkshop);
+
+ /// Returns if the preview was displayed
+ /// \return boolean value
bool isPreviewDisplayed() const { return myPreviewDisplayed; }
/// Erase preview planes