SALOME documentation central

Working with groups

Creation and editing groups of subshapes of a geometrical object makes handling subshapes much easier. This functionality is available in OCC viewer only.


Create a group

image56.png

To create a group of subshapes of a geometrical object in the main menu select New entity > Group > Create
The following menu will appear:

geomcreategroup.png

In this Menu:


The Result of the operation will be a GEOM_Object.


TUI Command: geompy.CreateGroup(MainShape, ShapeType), where MainShape is a shape for which the group is created, ShapeType is a type of shapes in the created group.
Arguments: 1 Shape + Type of subshape.

Example:

image193.png

Groups on a cylinder


Edit a group

image57.png

To Edit an existing group in the main menu select New entity > Group > Edit. This menu is designed in the same way as the Create a group menu.


The Result of the operation will be a GEOM_Object.


TUI Command:


Arguments: 1 Shape + its subshapes.


Dialog Box:

editgroup.png

Our TUI Scripts provide you with useful examples of Working with Groups.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS