import salome
salome.salome_init()
-theStudy = salome.myStudy
import salome_notebook
-notebook = salome_notebook.NoteBook(theStudy)
+notebook = salome_notebook.NoteBook()
sys.path.insert( 0, r'D:/asl/hydro/studies')
###
from PyQt4.QtCore import *
from PyQt4.QtGui import *
-hydro_doc = HYDROData_Document.Document( theStudy._get_StudyId() );
+hydro_doc = HYDROData_Document.Document();
hydro_doc.SetLocalCS( 0, 0 )