# Titre

# Displaying\hiding objects

Visualization is available in both, OCC and VTK viewers. These viewers work independently, i.e. visibility of objects and their graphic attributes may differ in OCC and VTK viewer. It is reasonable to use the OCC viewer for GEOM module.

Displaying\hiding different geometrical objects in the viewer is possible using the following operations:

- DisplayAll

- EraseAll

- Display

- DisplayOnly

- Erase

To display\hide one or several objects in the viewer:

In the main menu select View or right-click on the necessary object in the Object Browser and from the associated pop-up menu choose the required operation.

DisplayAll

Description: Displays all geometrical objects which have been created or imported in the current study.

TUI Command: sg.DisplayAll()

EraseAll

Description: Erases all shapes displayed in the viewer.

TUI Command: sg.EraseAll()

Display

Description: Displays an object in 3D viewer.

TUI Command:

DisplayOnly

Description: Displays only the selected geometrical element.

TUI Command: sg.DisplayOnly(ID)

Erase

Description : Erases only the selected shape.

TUI Command : sg.EraseOnly(ID)