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