1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
6 <title>Communication with Salome</title>
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
11 if (navigator.appName !="Netscape")
12 { document.write("<link rel='stylesheet' href='default.css'>");}
15 <style type="text/css">
17 p.whs1 { font-weight:bold; }
18 img_whs2 { border:none; width:36px; height:36px; float:none; border-style:none; }
19 ul.whs3 { list-style:square; }
20 p.whs4 { margin-left:40px; }
21 img_whs5 { border:none; width:412px; height:152px; float:none; border-style:none; }
22 img_whs6 { border:none; width:838px; height:672px; float:none; border-style:none; }
23 p.whs7 { color:#008080; font-weight:bold; margin-left:40px; }
24 p.whs8 { margin-left:0px; font-weight:normal; }
25 p.whs9 { font-weight:normal; }
26 p.whs10 { font-weight:bold; margin-left:40px; }
27 img_whs11 { border:none; width:216px; height:370px; float:none; border-style:none; }
28 p.whs12 { margin-left:0px; font-weight:bold; }
29 img_whs13 { border:none; width:36px; height:36px; float:none; border-style:none; }
30 img_whs14 { border:none; width:1097px; height:471px; float:none; }
32 </style><script type="text/javascript" language="JavaScript">
34 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
36 var strNSS = "<style type='text/css'>";
37 strNSS += "p.whs8 {margin-left:1pt; }";
38 strNSS += "p.whs12 {margin-left:1pt; }";
40 document.write(strNSS);
44 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
47 if (innerWidth != origWidth || innerHeight != origHeight)
50 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
51 origWidth = innerWidth;
52 origHeight = innerHeight;
58 <style type="text/css">
60 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
62 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
63 <script type="text/javascript" language="javascript" src="whver.js"></script>
64 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
65 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
66 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
68 <body><script type="text/javascript" language="javascript1.2">
72 if (window.addTocInfo)
74 addTocInfo("SIMAN User's Guide\nActivity management\nCommunication with Salome");
75 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
78 if (window.writeBtnStyle)
81 if (window.writeIntopicBar)
84 if (window.setRelStartPage)
86 setRelStartPage("Salome_Study_Manager_User_s_Guide.htm");
95 document.location.reload();
98 <h1>Communication with Salome</h1>
100 <p class="whs1">Check out</p>
104 <p>It is possible to initialize a new SALOME session with data stored in
105 SIMAN using <span style="font-weight: bold;"><B>Import</B></span> functionality
106 of SALOME modules. Only data corresponding to the selected Scenario are
109 <p>To access to Salome, select the scenario or a certain activity and click
110 <img src="s31.png" x-maintain-ratio="TRUE" width="36px" height="36px" border="0" class="img_whs2"> <span style="font-weight: bold;"><B>Check out</B></span> button.
115 <p>The data collected by SIMAN come from the files attached to result documents
116 of activities involving SALOME. For each result document, the data includes:</p>
118 <ul type="square" class="whs3">
120 <li class=kadov-p><p>The source file, for example, a STEP file or a
121 Python script in <span style="font-weight: bold;"><B>Create the geometry</B></span>
124 <li class=kadov-p><p>The file derived from this source file in the
125 format required by the dedicated SALOME Module, for example, a BRep file
126 in <span style="font-weight: bold;"><B>Create the geometry</B></span> activity.</p></li>
131 <p>Once all files are processed, a dialog box is opened informing about
132 the location of a temporary directory with the downloaded
137 <p class="whs4"><img src="checkout_mess.png" x-maintain-ratio="TRUE" width="412px" height="152px" border="0" class="img_whs5"></p>
141 <p>When SALOME is started by SIMAN Check-out, the Python path visible from
142 the SALOME Python console is automatically expanded to the temporary directory
143 in which Python scripts are downloaded. In the SALOME Load Python script
144 dialog box, the Quick path is set by default to this temporary download
149 <p><img src="salome_cheeckedout.png" x-maintain-ratio="TRUE" width="838px" height="672px" border="0" class="img_whs6"></p>
153 <p class="whs7"><span style="color: #008080; font-weight: bold;"><font color=teal ><B>Note:</B></font></span></p>
155 <p class="whs8"> </p>
157 <p class="whs4">It is also possible to manually regenerate
158 the result data file by importing source files from SALOME. It can be
159 requited if, for example, a Python script was changed, a
160 wrong brep file has been uploaded, a SALOME module has been versioned,
165 <p class="whs1">Check in</p>
167 <p class="whs9"> </p>
169 <p class="whs1"><span style="font-weight: normal;">It is
170 possible to save</span> <span style="font-weight: normal;">all changes
171 introduced in a Salome session by a Check-in operation, which can be activated
172 by </span>Check In<span style="font-weight: normal;"> command from Salome
173 </span>File<span style="font-weight: normal;"> menu.</span></p>
175 <p class="whs1"> </p>
177 <p class="whs9">It is also possible to carry out the check-in
178 only for the currently active module by <span style="font-weight: bold;"><B>Check
179 In for module</B></span> command. </p>
181 <p class="whs9"> </p>
183 <p class="whs10"><img src="checkinmenu.png" x-maintain-ratio="TRUE" width="216px" height="370px" border="0" class="img_whs11"></p>
185 <p class="whs1"> </p>
187 <p class="whs9">Check-in operation creates a new version
188 of the result document produced by the corresponding SALOME module or
189 updates the existing document version for each activity. </p>
191 <p class="whs9"> </p>
193 <p class="whs7"><span><font color=teal ><B><span style="color: #008080; font-weight: bold;"><font color=teal ><B>Note:</B></font></span></B></font></span></p>
195 <p class="whs4"> </p>
197 <p class="whs4">The new document version is created only
198 if the source file has been changed. In all other cases created or modified
199 files are attached to the existing document without creation of the new
202 <p class="whs4"> </p>
204 <p class="whs4"> </p>
206 <p class="whs12">Unlock a checked-out scenario</p>
208 <p class="whs8"> </p>
210 <p class="whs8">It can be necessary to
211 access a checked-out scenario without its check-in in Salome. </p>
213 <p class="whs8"> </p>
215 <p class="whs8">For this, select the
216 scenario and click <img src="s8.png" x-maintain-ratio="TRUE" width="36px" height="36px" border="0" class="img_whs13"> <span style="font-weight: bold;"><B>Configure
217 the scenario </B></span> button
218 in the left toolbar. </p>
220 <p class="whs8"> </p>
222 <p class="whs8"><img src="config_unlock.png" x-maintain-ratio="TRUE" width="1097px" height="471px" border="0" class="img_whs14"></p>
224 <p class="whs9"> </p>
226 <p class="whs9">Click <span style="font-weight: bold;"><B>Forget
227 the on-going modifications</B></span> to unlock the scenario.<span style="font-weight: bold;">
230 <script type="text/javascript" language="javascript1.2">
232 if (window.writeIntopicBar)