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