Salome HOME
Merge multi-study removal branch.
[modules/smesh.git] / src / Tools / MacMesh / MacMesh / MacObject.py
index db3fb2b77298653590cac8ffacabecdb7bc9b8bf..9b1aadf9d0d9143ac7ef65e1f3a4e00dced853af 100644 (file)
@@ -241,7 +241,7 @@ class MacObject:
                 import GenFunctions, Config
 
                 from salome.geom import geomBuilder
-                geompy = geomBuilder.New( Config.theStudy )
+                geompy = geomBuilder.New()
                 
                 if type(Criterion) is str :
                         Crit = {'South'  : lambda : 0,
@@ -281,7 +281,7 @@ class MacObject:
         def PrincipleBoxes (self):
                 """
                 This function returns all possible combination rectangular shape objects that can contain at least 3 of the principle vertices
-                constituting the MacObject. This is indispensible for the Non-ortho types and shall return a number of 24 possible combinations
+                constituting the MacObject. This is indispensable for the Non-ortho types and shall return a number of 24 possible combinations
                 """
                 from itertools import combinations
                 Boxes = []