Salome HOME
Make SHAPERSTUDY group never main shape
authormpv <mpv@opencascade.com>
Thu, 12 Mar 2020 12:53:32 +0000 (15:53 +0300)
committermpv <mpv@opencascade.com>
Thu, 12 Mar 2020 12:53:42 +0000 (15:53 +0300)
src/PY/SHAPERSTUDY_Object.py

index 17a09e2817d4112051e375a045a487add60de25e..d0d2317eae418bd591344ce144410526e1b07f8c 100755 (executable)
@@ -375,6 +375,12 @@ class SHAPERSTUDY_Group(SHAPERSTUDY_ORB__POA.SHAPER_Group, SHAPERSTUDY_Object):
         """
         return self.selection
 
+    def IsMainShape( self ):
+        """
+        Returns True if this object is not a sub-shape of another object.
+        """
+        return False
+
     def GetMainShape( self ):
         """
         Main shape is groups owner