Salome HOME
adaptation cas tests
[modules/hydro.git] / doc / salome / examples / h008_simpleCase.py
index 3779bc9701920ff345e63a4dee323f09ae560cb8..c714049ea03c659259bb0db4dca345bd3ec0a5b5 100644 (file)
@@ -5,14 +5,14 @@ import salome
 
 salome.salome_init()
 theStudy = salome.myStudy
-  
+
 #----------------------
-# --- HYDRO 
+# --- HYDRO
 #----------------------
 
 from HYDROPy import *
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
+from PyQt5.QtCore import *
+from PyQt5.QtGui import *
 
 hydro_doc = HYDROData_Document.Document( theStudy._get_StudyId() )
 
@@ -66,7 +66,7 @@ Case_1.Update()
 Case_1_entry = Case_1.Export( theStudy._get_StudyId() )
 
 #----------------------
-# --- Geometry 
+# --- Geometry
 #----------------------
 
 # Get geometry shape and print debug information
@@ -83,7 +83,8 @@ Case_1_geom = salome.IDToObject( str( Case_1_entry ) )
 print "Geom shape:", Case_1_geom
 print "Geom shape name:", Case_1_geom.GetName()
 
+#controlGeomProps(geompy, Case_1_geom, 1218.7373973, 49697.2117918)
 controlGeomProps(geompy, Case_1_geom, 1218.7373973, 49578.1516521)
-   
+
 if salome.sg.hasDesktop():
   salome.sg.updateObjBrowser(1)