X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Ffiles%2Ftutorial_1.py;h=51b46e37e0794402b3b00dcef14a04a7d5f0faab;hb=3698a6d21be8092b91724c6e3687aae687fffc62;hp=0ebd8d2c43b86434120abec9c5864c74c6842fc9;hpb=0490ea9f291796f07684e4e996fd1c5bb2bd2bd6;p=modules%2Fhomard.git diff --git a/doc/files/tutorial_1.py b/doc/files/tutorial_1.py index 0ebd8d2c..51b46e37 100755 --- a/doc/files/tutorial_1.py +++ b/doc/files/tutorial_1.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2011-2015 CEA/DEN, EDF R&D +# Copyright (C) 2011-2016 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -47,8 +47,6 @@ salome.salome_init() import HOMARD # homard = salome.lcc.FindOrLoadComponent("FactoryServer", "HOMARD") -study_main = salome.myStudyManager.NewStudy("HOMARD") -homard.SetCurrentStudy(salome.myStudy) # # Hypotheses # ========== @@ -89,4 +87,4 @@ gzip_gunzip(DATA_TUTORIAL, 1, 1) # ================================== # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser()