From 889ef88d26915c99e296bfc3d285245547cec643 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 17 Apr 2013 16:17:41 +0000 Subject: [PATCH] Update documentation for 7.2.0 --- .../gui/input/study_management_chapter.doc | 6 ++-- doc/salome/gui/input/text_user_interface.doc | 32 +++++++++---------- doc/salome/gui/input/using_notebook.doc | 6 ++-- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/doc/salome/gui/input/study_management_chapter.doc b/doc/salome/gui/input/study_management_chapter.doc index c7600be5b..9e4f618d4 100644 --- a/doc/salome/gui/input/study_management_chapter.doc +++ b/doc/salome/gui/input/study_management_chapter.doc @@ -104,11 +104,11 @@ introduced into study since its last save. Each record contains the date and time of the modification and the name of the user, who has introduced it.
  • Stored data - Shows the versions of data currently stored -in the study. Note, that this information does not concern current +in the study. Note, that this information does not concern the current versions of SALOME modules, it shows the version in which the data has been initially created. If the study is re-saved in the version of SALOME, -different from initial one, the version information is -highlighted by red-colored font; this means that version information +different from the initial one, the version information is +highlighted by the red-colored font, which means that the version information is not actually valid.
  • diff --git a/doc/salome/gui/input/text_user_interface.doc b/doc/salome/gui/input/text_user_interface.doc index 79bfe8000..5501c21ce 100644 --- a/doc/salome/gui/input/text_user_interface.doc +++ b/doc/salome/gui/input/text_user_interface.doc @@ -3,10 +3,10 @@ \page tui_page Using SALOME GUI python interface -The extended salome.py Python module provides a \b sg variable, this variable provides an access to some GUI functions. +The extended salome.py Python module provides \b sg variable, which gives access to some GUI functions. \b Note, that this variable is not available if you use salome.py -Python module outside the GUI desktop, i.e. not in the embedded Python +Python module outside of the GUI desktop, i.e. without the embedded Python console (since SWIG library is linked directly to the GUI library). The example of usage: @@ -14,36 +14,36 @@ The example of usage: # update Object browser contents salome.sg.updateObjBrowser(True) -# get active study ID +# get the active study ID studyId = salome.sg.getActiveStudyId() -# get active study name +# get the active study name studyName = salome.sg.getActiveStudyName() -# get selected objects -selCount = salome.sg.SelectedCount() # total number of selected items +# get the selected objects +selCount = salome.sg.SelectedCount() # the number of selected items for i in range(selCount): - print salome.sg.getSelected(i) # print entry ID of i-th selected item + print salome.sg.getSelected(i) # print the entry ID of i-th selected item \endcode \code -# get list of all selected objects' IDs +# get the list of IDs of all selected objects selected = salome.sg.getAllSelected() -# add object to the selection +# add an object to the selection salome.sg.AddIObject("0:1:1:1") # "0:1:1:1" is an object ID -# remove object from the selection (make it unselected) +# remove an object from the selection (make it unselected) salome.sg.RemoveIObject("0:1:1:1") # "0:1:1:1" is an object ID -# clear selection (set all objects unselected) +# clear the selection (set all objects unselected) salome.sg.ClearIObjects() -# display object in the current view (if possible) +# display an object in the current view (if possible) salome.sg.Display("0:1:1:1") # "0:1:1:1" is an object ID salome.sg.UpdateView() # update view -# erase object from the current view +# erase an object from the current view salome.sg.Erase("0:1:1:1") # "0:1:1:1" is an object ID salome.sg.UpdateView() # update view @@ -63,13 +63,13 @@ salome.sg.ViewTop() # back view salome.sg.ViewLeft() # left view salome.sg.ViewRight() # right view -# reset current view +# reset the current view salome.sg.ResetView() -# get component symbolic name by its user name +# get the component symbolic name by its user name compName = salome.sg.getComponentName("Geometry") # compoName = "GEOM" -# get component user name by its symbolic name +# get the component user name by its symbolic name compName = salome.sg.getComponentUserName("SMESH") # compoName = "Mesh" # ... diff --git a/doc/salome/gui/input/using_notebook.doc b/doc/salome/gui/input/using_notebook.doc index dd92dd889..ea7e81eeb 100644 --- a/doc/salome/gui/input/using_notebook.doc +++ b/doc/salome/gui/input/using_notebook.doc @@ -5,7 +5,7 @@ SALOME NoteBook allows to predefine numerical and boolean parameters (variables). -By default, the NoteBook takes place in a left tabbed widget. +By default, the NoteBook is located in a tabbed widget to the left (shared with the Object Browser). \image html notebook1.png @@ -18,12 +18,12 @@ If you have modified some variables, which are already used in the current study, you should click Update Study button to apply your changes to the study. -\note The study can not be updated until at least one of variables in +\note The study can not be updated until at least one of the variables in the table has an invalid name or value (marked by red color). The names of variables should be unique and their values should be numerical (integer or double) or boolean ("True" / "False"). -Here is an example of setting of variables in python scripts: +Here is an example of setting variables in python scripts: \code import salome_notebook -- 2.39.2