]> SALOME platform Git repositories - modules/gui.git/blob - doc/salome/gui/KERNEL/kernel/saving_a_study.htm
Salome HOME
a273b6de32ae5479a402ca8e56b5ee8f8ba21d1a
[modules/gui.git] / doc / salome / gui / KERNEL / kernel / saving_a_study.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Saving a study</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 h1.whs1 { text-align:justify; }\r
18 p.whs2 { text-align:justify; }\r
19 img_whs3 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
20 p.whs4 { font-style:italic; color:#ff0000; text-align:justify; }\r
21 ul.whs5 { list-style:disc; }\r
22 p.whs6 { font-weight:bold; margin-left:0px; text-align:justify; }\r
23 p.whs7 { margin-left:0px; text-align:justify; }\r
24 p.whs8 { font-style:italic; text-align:justify; color:#000000; font-family:'Arial Black' , sans-serif; }\r
25 p.whs9 { font-style:italic; color:#ff0000; margin-left:40px; text-align:justify; }\r
26 img_whs10 { border:none; width:23px; height:29px; float:none; border-style:none; }\r
27 p.whs11 { margin-left:0px; background-image:url('../texture_horiz_ltbluebubbles.jpg'); text-align:justify; }\r
28 img_whs12 { border:none; float:none; width:36px; height:38px; border-style:none; }\r
29 p.whs13 { margin-left:0px; font-style:italic; text-align:justify; color:#000000; font-family:'Arial Black' , sans-serif; }\r
30 p.whs14 { margin-left:0px; font-style:italic; color:#ff0000; text-align:justify; }\r
31 p.whs15 { margin-left:40px; text-align:justify; }\r
32 p.whs16 { text-align:justify; margin-left:40px; font-family:'Times New Roman' , serif; font-style:normal; }\r
33 p.whs17 { font-style:italic; margin-left:0px; text-align:justify; color:#000000; font-family:'Arial Black' , sans-serif; }\r
34 p.whs18 { font-style:italic; color:#ff0000; margin-left:0px; text-align:justify; }\r
35 img_whs19 { border:none; width:22px; height:23px; border-style:none; }\r
36 img_whs20 { border:none; width:394px; height:161px; float:none; border-style:none; }\r
37 p.whs21 { margin-left:0px; font-weight:bold; text-align:justify; }\r
38 -->\r
39 </style><script type="text/javascript" language="JavaScript">\r
40 <!--\r
41 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
42 {\r
43   var strNSS = "<style type='text/css'>";\r
44   strNSS += "p.whs6 {margin-left:1pt; }";\r
45   strNSS += "p.whs7 {margin-left:1pt; }";\r
46   strNSS += "p.whs11 {margin-left:1pt; }";\r
47   strNSS += "p.whs13 {margin-left:1pt; }";\r
48   strNSS += "p.whs14 {margin-left:1pt; }";\r
49   strNSS += "p.whs17 {margin-left:1pt; }";\r
50   strNSS += "p.whs18 {margin-left:1pt; }";\r
51   strNSS += "p.whs21 {margin-left:1pt; }";\r
52   strNSS +="</style>";\r
53   document.write(strNSS);\r
54 }\r
55 //-->\r
56 </script>\r
57 <script type="text/javascript" language="JavaScript" title="BSSC Special Effects" src="../ehlpdhtm.js"></script><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
58 <!--\r
59 function reDo() {\r
60   if (innerWidth != origWidth || innerHeight != origHeight)\r
61      location.reload();\r
62 }\r
63 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
64         origWidth = innerWidth;\r
65         origHeight = innerHeight;\r
66         onresize = reDo;\r
67 }\r
68 onerror = null; \r
69 //-->\r
70 </script>\r
71 <style type="text/css">\r
72 <!--\r
73 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
74 -->\r
75 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
76 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
77 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
78 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
79 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
80 </head>\r
81 <body><script type="text/javascript" language="javascript1.2">\r
82 <!--\r
83 if (window.gbWhTopic)\r
84 {\r
85         if (window.addTocInfo)\r
86         {\r
87         addTocInfo("GUI module\nStudy management\nSaving and closing studies");\r
88 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
89 \r
90         }\r
91         if (window.writeBtnStyle)\r
92                 writeBtnStyle();\r
93 \r
94         if (window.writeIntopicBar)\r
95                 writeIntopicBar(1);\r
96 \r
97         if (window.setRelStartPage)\r
98         {\r
99         setRelStartPage("../kernel.htm");\r
100 \r
101                 autoSync(1);\r
102                 sendSyncInfo();\r
103                 sendAveInfoOut();\r
104         }\r
105 }\r
106 else\r
107         if (window.gbIE4)\r
108                 document.location.reload();\r
109 //-->\r
110 </script>\r
111 <h1 class="whs1">Saving and closing studies</h1>\r
112 \r
113 <p class="whs2"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs3">In <span style="font-weight: bold;"><B>SALOME \r
114  </B></span>a study can be saved in <span style="font-weight: bold;"><B>HDF</B></span> \r
115  binary (by default) or <span style="font-weight: bold;"><B>ASCII</B></span> files \r
116  (<a href="setting_preferences.htm#ASCII">see also: Setting ASCII save \r
117  option</a>).</p>\r
118 \r
119 <p class="whs2">&nbsp;</p>\r
120 \r
121 <p class="whs2">You can also specify &nbsp;two \r
122  options of saving your study: </p>\r
123 \r
124 <p class="whs4">&nbsp;</p>\r
125 \r
126 <ul type="disc" class="whs5">\r
127         \r
128         <li style="margin-left: -20px;"\r
129                 class=kadov-p><p class="whs6">In one HDF file: \r
130  <span style="font-weight: normal;">in this case all components used during \r
131  this study session will write their data into one common HDF file. </span></p></li>\r
132         \r
133         <li style="margin-left: -20px;"\r
134                 class=kadov-p><p class="whs7"><span \r
135  style="font-weight: bold;"><B>In multiple files </B></span>(<a href="setting_preferences.htm#MultiFile">see \r
136  also: Setting Multifile save option</a>)<span style="font-weight: bold;"> \r
137  <B></B></span>: in this case SALOME will create one base HDF file which will \r
138  store the main information about the saved study and several other special \r
139  files with particular extensions storing the data written by each component \r
140  which has been used during this study session. Opening of this study requires \r
141  that <span style="font-weight: bold;"><B>ALL</B></span> saved files should be \r
142  stored in the <span style="font-weight: bold;"><B>SAME</B></span> directory. \r
143  &nbsp;If you \r
144  would like to copy your saved study in another directory or machine, you \r
145  should copy all stored files. Otherwise, if you try to open this study, \r
146  some data will be lost and it will lead to invalid functioning of the \r
147  SALOME platform. &nbsp;&nbsp;&nbsp;</p></li>\r
148 </ul>\r
149 \r
150 <p class="whs7">&nbsp;</p>\r
151 \r
152 <p class="whs7">Saving a study you also \r
153  save its layout, i.e. all positions and sizes of dockable windows. It \r
154  means that the difference in settings of the same windows (for example \r
155  Python console) is possible between different modules (the same window \r
156  can have different size and position when other module is activated). \r
157  Also each module can indicate which common windows are necessary for working, \r
158  and only they will be displayed when this module is active.</p>\r
159 \r
160 <p class="whs7">&nbsp;</p>\r
161 \r
162 <p class="whs8">To save an existing \r
163  study :</p>\r
164 \r
165 <p class="whs4">&nbsp;</p>\r
166 \r
167 <p class="whs9"><span style="font-style: normal; color: #000000;"><font color=black >In \r
168  the main toolbar click </font></span><img src="../pics/save.jpg" x-maintain-ratio="TRUE" width="23px" height="29px" border="0" class="img_whs10"> <span style="font-style: normal; color: #000000;"><font color=black >or \r
169  from the main menu select </font></span><span style="font-style: normal;\r
170                                                                                                 color: #000000;\r
171                                                                                                 font-weight: bold;"><font color=black ><B>File \r
172  &gt; Save </B></font></span><span style="font-style: normal; color: #000000;"><font color=black >option. \r
173  Your study will be automatically updated. </font></span></p>\r
174 \r
175 <p class="whs9">&nbsp;</p>\r
176 \r
177 <p class="whs11"><img src="../note1.gif" x-maintain-ratio="TRUE" width="36px" height="38px" border="0" class="img_whs12">If your study hasn't been \r
178  previously saved, this option will call the standard Search File dialog \r
179  box where you can enter the name for your study and save it. </p>\r
180 \r
181 <p class="whs9">&nbsp;</p>\r
182 \r
183 <p class="whs13">To save a study with \r
184  a new name:</p>\r
185 \r
186 <p class="whs14">&nbsp;</p>\r
187 \r
188 <p class="whs15">From the main menu select \r
189  <span style="font-weight: bold;"><B>File &gt; Save as </B></span>option. In the \r
190  standard Search File dialog box enter a new name for your study and click \r
191  <span style="font-weight: bold;"><B>Save</B></span> button.</p>\r
192 \r
193 <p class="whs15">&nbsp;</p>\r
194 \r
195 <p class="whs13">To save the current \r
196  layout of the GUI:</p>\r
197 \r
198 <p class="whs13">&nbsp;</p>\r
199 \r
200 <p class="whs16">From the main menu select <span style="font-weight: bold;"><B>File \r
201  &gt; Save GUI State</B></span>. The GUI state is published in Object Browser \r
202  in the folder GUI states and can be at any time <span style="font-weight: bold;"><B>Restored</B></span>, \r
203  <span style="font-weight: bold;"><B>Renamed</B></span> or <span style="font-weight: bold;"><B>Deleted.</B></span> \r
204  &nbsp;This operation \r
205  saves and allows to restore almost all GUI settings: names, position, \r
206  zooming and panning of viewers &nbsp;and \r
207  all displayed objects (in Post-Pro module only). &nbsp;</p>\r
208 \r
209 <p>&nbsp;</p>\r
210 \r
211 <p class="whs17">To close a study:</p>\r
212 \r
213 <p class="whs18">&nbsp;</p>\r
214 \r
215 <p class="whs9"><span style="font-style: normal; color: #000000;"><font color=black >In \r
216  the main toolbar click<img src="../image94.gif" width="22px" height="23px" border="0" class="img_whs19"> or &nbsp;from \r
217  the main menu select </font></span><span style="font-weight: bold;\r
218                                                                                         font-style: normal;\r
219                                                                                         color: #000000;"><font color=black ><B>File &gt; \r
220  Close</B></font></span><span style="font-weight: bold;"> <B></B></span><span style="font-style: normal; color: #000000;"><font color=black >option \r
221  or click on the cross in the upper right corner of the study window.</font></span></p>\r
222 \r
223 <p class="whs9">&nbsp;</p>\r
224 \r
225 <p class="whs11"><img src="../note1.gif" x-maintain-ratio="TRUE" width="36px" height="38px" border="0" class="img_whs12">If your study hasn't been \r
226  previously saved, this option will call the following dialog box with \r
227  several options:</p>\r
228 \r
229 <p class="whs15">&nbsp;</p>\r
230 \r
231 <p class="whs15"><img src="../closestudy.png" x-maintain-ratio="TRUE" width="394px" height="161px" border="0" class="img_whs20"></p>\r
232 \r
233 <p class="whs15">&nbsp;</p>\r
234 \r
235 <p class="whs7"><span style="font-weight: bold;"><B>Unload \r
236  </B></span>option allows to unload your current study from the SALOME Desktop. \r
237  In the same working session you can &nbsp;reload \r
238  it again (<a href="opening_studies.htm">see: Opening studies</a>). But \r
239  if you quit the SALOME application, all changes in the unloaded study \r
240  will be LOST.</p>\r
241 \r
242 <p class="whs7">&nbsp;</p>\r
243 \r
244 <p class="whs21">\r
245 <a href="javascript:void(0);" onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;}  if (parseInt(navigator.appVersion) >=2 && typeof(PickupDialog_Invoke) == 'function') PickupDialog_Invoke(e,'','Creating a new study','creating_a_new_study.htm','Displaying studies','displaying_studies.htm','Introduction to GUI','../introduction_to_gui.htm','Opening studies','opening_studies.htm','SALOME desktop','salome_pro_desktop.htm','Setting preferences','setting_preferences.htm');return false;" title="Related Topics"><img src="../ss_btn_related_topics.gif" border=0 height=17 width=82 alt="Related Topics"></a>\r
246 \r
247 \r
248  </p>\r
249 \r
250 <p class="whs21">&nbsp;</p>\r
251 \r
252 <p class="whs21">&nbsp;</p>\r
253 \r
254 <p class="whs21">&nbsp;</p>\r
255 \r
256 <p class="whs21">&nbsp;</p>\r
257 \r
258 <script type="text/javascript" language="JavaScript" title="WebHelpRelatedTopics"><!--\r
259 if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")\r
260   WritePopupMenuLayer();\r
261 //--></script><script type="text/javascript" language="javascript1.2">\r
262 <!--\r
263 if (window.writeIntopicBar)\r
264         writeIntopicBar(0);\r
265 //-->\r
266 </script>\r
267 </body>\r
268 </html>\r