Salome HOME
*** empty log message ***
[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 { font-style:italic; margin-left:0px; text-align:justify; color:#000000; font-family:'Arial Black' , sans-serif; }\r
33 p.whs17 { font-style:italic; color:#ff0000; margin-left:0px; text-align:justify; }\r
34 img_whs18 { border:none; width:394px; height:161px; float:none; border-style:none; }\r
35 p.whs19 { margin-left:0px; font-weight:bold; text-align:justify; }\r
36 -->\r
37 </style><script type="text/javascript" language="JavaScript">\r
38 <!--\r
39 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
40 {\r
41   var strNSS = "<style type='text/css'>";\r
42   strNSS += "p.whs6 {margin-left:1pt; }";\r
43   strNSS += "p.whs7 {margin-left:1pt; }";\r
44   strNSS += "p.whs11 {margin-left:1pt; }";\r
45   strNSS += "p.whs13 {margin-left:1pt; }";\r
46   strNSS += "p.whs14 {margin-left:1pt; }";\r
47   strNSS += "p.whs16 {margin-left:1pt; }";\r
48   strNSS += "p.whs17 {margin-left:1pt; }";\r
49   strNSS += "p.whs19 {margin-left:1pt; }";\r
50   strNSS +="</style>";\r
51   document.write(strNSS);\r
52 }\r
53 //-->\r
54 </script>\r
55 <script type="text/javascript" language="JavaScript" title="BSSC Special Effects" src="../ehlpdhtm.js"></script><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
56 <!--\r
57 function reDo() {\r
58   if (innerWidth != origWidth || innerHeight != origHeight)\r
59      location.reload();\r
60 }\r
61 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
62         origWidth = innerWidth;\r
63         origHeight = innerHeight;\r
64         onresize = reDo;\r
65 }\r
66 onerror = null; \r
67 //-->\r
68 </script>\r
69 <style type="text/css">\r
70 <!--\r
71 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
72 -->\r
73 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
74 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
75 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
76 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
77 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
78 </head>\r
79 <body><script type="text/javascript" language="javascript1.2">\r
80 <!--\r
81 if (window.gbWhTopic)\r
82 {\r
83         if (window.addTocInfo)\r
84         {\r
85         addTocInfo("GUI module\nStudy management\nSaving and closing studies");\r
86 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
87 \r
88         }\r
89         if (window.writeBtnStyle)\r
90                 writeBtnStyle();\r
91 \r
92         if (window.writeIntopicBar)\r
93                 writeIntopicBar(1);\r
94 \r
95         if (window.setRelStartPage)\r
96         {\r
97         setRelStartPage("../kernel.htm");\r
98 \r
99                 autoSync(1);\r
100                 sendSyncInfo();\r
101                 sendAveInfoOut();\r
102         }\r
103 }\r
104 else\r
105         if (window.gbIE4)\r
106                 document.location.reload();\r
107 //-->\r
108 </script>\r
109 <h1 class="whs1">Saving and closing studies</h1>\r
110 \r
111 <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
112  </B></span>a study can be saved in <span style="font-weight: bold;"><B>HDF</B></span> \r
113  binary (by default) or <span style="font-weight: bold;"><B>ASCII</B></span> files \r
114  (<a href="setting_preferences.htm#ASCII">see also: Setting ASCII save \r
115  option</a>).</p>\r
116 \r
117 <p class="whs2">&nbsp;</p>\r
118 \r
119 <p class="whs2">You can also specify &nbsp;two \r
120  options of saving your study: </p>\r
121 \r
122 <p class="whs4">&nbsp;</p>\r
123 \r
124 <ul type="disc" class="whs5">\r
125         \r
126         <li style="margin-left: -20px;"\r
127                 class=kadov-p><p class="whs6">In one HDF file: \r
128  <span style="font-weight: normal;">in this case all components used during \r
129  this study session will write their data into one common HDF file. </span></p></li>\r
130         \r
131         <li style="margin-left: -20px;"\r
132                 class=kadov-p><p class="whs7"><span \r
133  style="font-weight: bold;"><B>In multiple files </B></span>(<a href="setting_preferences.htm#MultiFile">see \r
134  also: Setting Multifile save option</a>)<span style="font-weight: bold;"> \r
135  <B></B></span>: in this case SALOME will create one base HDF file which will \r
136  store the main information about the saved study and several other special \r
137  files with particular extensions storing the data written by each component \r
138  which has been used during this study session. Opening of this study requires \r
139  that <span style="font-weight: bold;"><B>ALL</B></span> saved files should be \r
140  stored in the <span style="font-weight: bold;"><B>SAME</B></span> directory. \r
141  &nbsp;If you \r
142  would like to copy your saved study in another directory or machine, you \r
143  should copy all stored files. Otherwise, if you try to open this study, \r
144  some data will be lost and it will lead to invalid functioning of the \r
145  SALOME platform. &nbsp;&nbsp;&nbsp;</p></li>\r
146 </ul>\r
147 \r
148 <p class="whs7">&nbsp;</p>\r
149 \r
150 <p class="whs7">Saving a study you also \r
151  save its layout, i.e. all positions and sizes of dockable windows. It \r
152  means that the difference in settings of the same windows (for example \r
153  Python console) is possible between different modules (the same window \r
154  can have different size and position when other module is activated). \r
155  Also each module can indicate which common windows are necessary for working, \r
156  and only they will be displayed when this module is active.</p>\r
157 \r
158 <p class="whs7">&nbsp;</p>\r
159 \r
160 <p class="whs8">To save an existing \r
161  study :</p>\r
162 \r
163 <p class="whs4">&nbsp;</p>\r
164 \r
165 <p class="whs9"><span style="font-style: normal; color: #000000;"><font color=black >In \r
166  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
167  from the main menu select </font></span><span style="font-style: normal;\r
168                                                                                                 color: #000000;\r
169                                                                                                 font-weight: bold;"><font color=black ><B>File \r
170  &gt; Save as </B></font></span><span style="font-style: normal; color: #000000;"><font color=black >option. \r
171  Your study will be automatically updated. </font></span></p>\r
172 \r
173 <p class="whs9">&nbsp;</p>\r
174 \r
175 <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
176  previously saved, this option will call the standard Search File dialog \r
177  box where you can enter the name for your study and save it. </p>\r
178 \r
179 <p class="whs9">&nbsp;</p>\r
180 \r
181 <p class="whs13">To save a study with \r
182  a new name:</p>\r
183 \r
184 <p class="whs14">&nbsp;</p>\r
185 \r
186 <p class="whs15">From the main menu select \r
187  <span style="font-weight: bold;"><B>File &gt; Save as </B></span>option. In the \r
188  standard Search File dialog box enter a new name for your study and click \r
189  <span style="font-weight: bold;"><B>Save</B></span> button.</p>\r
190 \r
191 <p class="whs9">&nbsp;</p>\r
192 \r
193 <p class="whs16">To close a study:</p>\r
194 \r
195 <p class="whs17">&nbsp;</p>\r
196 \r
197 <p class="whs9"><span style="font-style: normal; color: #000000;"><font color=black >From \r
198  the main menu select </font></span><span style="font-weight: bold;\r
199                                                                                         font-style: normal;\r
200                                                                                         color: #000000;"><font color=black ><B>File &gt; \r
201  Close</B></font></span><span style="font-weight: bold;"> <B></B></span><span style="font-style: normal; color: #000000;"><font color=black >option \r
202  or click on the cross in the upper right corner of the study window.</font></span></p>\r
203 \r
204 <p class="whs9">&nbsp;</p>\r
205 \r
206 <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
207  previously saved, this option will call the following dialog box with \r
208  several options:</p>\r
209 \r
210 <p class="whs15">&nbsp;</p>\r
211 \r
212 <p class="whs15"><img src="../closestudy.png" x-maintain-ratio="TRUE" width="394px" height="161px" border="0" class="img_whs18"></p>\r
213 \r
214 <p class="whs15">&nbsp;</p>\r
215 \r
216 <p class="whs7"><span style="font-weight: bold;"><B>Unload \r
217  </B></span>option allows to unload your current study from the SALOME Desktop. \r
218  In the same working session you can &nbsp;reload \r
219  it again (<a href="opening_studies.htm">see: Opening studies</a>). But \r
220  if you quit the SALOME application, all changes in the unloaded study \r
221  will be LOST.</p>\r
222 \r
223 <p class="whs7">&nbsp;</p>\r
224 \r
225 <p class="whs13">To close a definite \r
226  study window:</p>\r
227 \r
228 <p class="whs7">&nbsp;</p>\r
229 \r
230 <p class="whs15">Click on the small cross \r
231  button in the right upper corner of the study window. If it is the last \r
232  study window this operation will result in closing of the whole study.</p>\r
233 \r
234 <p class="whs9">&nbsp;</p>\r
235 \r
236 <p class="whs15">&nbsp;</p>\r
237 \r
238 <p class="whs15">&nbsp;</p>\r
239 \r
240 <p class="whs19">\r
241 <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 IAPP','introduction_to_iapp.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
242 \r
243 \r
244  </p>\r
245 \r
246 <p class="whs19">&nbsp;</p>\r
247 \r
248 <p class="whs19">&nbsp;</p>\r
249 \r
250 <p class="whs19">&nbsp;</p>\r
251 \r
252 <p class="whs19">&nbsp;</p>\r
253 \r
254 <script type="text/javascript" language="JavaScript" title="WebHelpRelatedTopics"><!--\r
255 if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")\r
256   WritePopupMenuLayer();\r
257 //--></script><script type="text/javascript" language="javascript1.2">\r
258 <!--\r
259 if (window.writeIntopicBar)\r
260         writeIntopicBar(0);\r
261 //-->\r
262 </script>\r
263 </body>\r
264 </html>\r