From: mpv Date: Thu, 29 Nov 2018 13:05:12 +0000 (+0300) Subject: Fix for the issue #2808 : Documentation on the "Groups" panel. Added description... X-Git-Tag: End2018~132 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aa13499c7dd70a3adbc78a917b1e1c4519812cd2;p=modules%2Fshaper.git Fix for the issue #2808 : Documentation on the "Groups" panel. Added description of "Add elements that share the same topology" flag. --- diff --git a/src/CollectionPlugin/doc/groupFeature.rst b/src/CollectionPlugin/doc/groupFeature.rst index 0ff1eefb3..ccb658d4d 100644 --- a/src/CollectionPlugin/doc/groupFeature.rst +++ b/src/CollectionPlugin/doc/groupFeature.rst @@ -43,10 +43,9 @@ Input fields: :align: left Solids; -- The list of selected entities of the given type. Multiple selection can be done manually in OCC 3D Viewer by mouse click with Shift button pressed or by rectangle selection. - -To delete entities from the list, select them and call pop-up menu *Delete* item. +- The list of selected entities of the given type. Multiple selection can be done manually in OCC 3D Viewer by mouse click with Shift button pressed or by rectangle selection. To delete entities from the list, select them and call pop-up menu *Delete* item. +- Control **Add elements that share the same topology** allows to add automatically all elements laying on the same topology that was selected and remove these elements if they are disappeared due to the parametrical update. They will be represented as one line in the list of selection and managed in the viewer as one object if this flag is enabled. If flag becomes disabled when such elements are already in the list, they will become divided in one line per one shape. **TUI Command**: *model.addGroup(Part_1_doc, [model.selection("EDGE", "Cone_1_1/Face_1&Cone_1_1/Face_2"), model.selection("EDGE", "Cone_1_1/Face_1")])* diff --git a/src/CollectionPlugin/doc/images/group_property_panel.png b/src/CollectionPlugin/doc/images/group_property_panel.png index 4302628d3..1ae6dea67 100644 Binary files a/src/CollectionPlugin/doc/images/group_property_panel.png and b/src/CollectionPlugin/doc/images/group_property_panel.png differ diff --git a/src/ModelAPI/CMakeLists.txt b/src/ModelAPI/CMakeLists.txt index 9c003d1a9..d833a9670 100644 --- a/src/ModelAPI/CMakeLists.txt +++ b/src/ModelAPI/CMakeLists.txt @@ -229,4 +229,5 @@ ADD_UNIT_TESTS(TestConstants.py TestGeomNamingRevolution.py TestGeomNamingEdgeByFilter.py TestGeomNamingSketchPlane.py + TestContainerSelector.py )