Salome HOME
Merge multi-study removal branch.
[modules/smesh.git] / src / Tools / MacMesh / MacMesh / MacObject.py
index 87dcb6aa6911582d4697b454ab6b46f067bcecff..9b1aadf9d0d9143ac7ef65e1f3a4e00dced853af 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2015  EDF R&D
+# Copyright (C) 2014-2016  EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -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 = []