Salome HOME
Update of the documentation of the plugin "blocfissure"
[modules/smesh.git] / src / Tools / blocFissure / CasTests / ellipse_2.py
index d4a1a2281c66e2c35acc104d80c3b2ef3d5de104..4947fbbd242e784f0e844d439cec7b1a9ad174e0 100644 (file)
@@ -53,7 +53,7 @@ class ellipse_2(ellipse_1):
 
     lgInfluence = shapeFissureParams['lgInfluence']
 
-    shellFiss = geompy.ImportFile(os.path.join(gmu.pathBloc, "materielCasTests/ellipse1_pb.brep"), "BREP")
+    shellFiss = geompy.ImportBREP(os.path.join(gmu.pathBloc, "materielCasTests/ellipse1_pb.brep"))
     fondFiss = geompy.CreateGroup(shellFiss, geompy.ShapeType["EDGE"])
     geompy.UnionIDs(fondFiss, [3])
     geompy.addToStudy( shellFiss, 'shellFiss' )