Dear Mrs,<div><br></div><div>I have a question concerning Modelica Blocks created in Scilab/Xcos and added to the palette in XCos.</div><div><br></div><div>I create a few blocks and added to the XCos palette using the following script:</div>
<div><br></div><div>This is the example for the a Block named "Line"</div><div><br></div><div><br></div><div>***************************</div><div><br></div><div><div>loadXcosLibs();</div><div>getd("Path to directory");</div>
<div>%MODELICA_USER_LIBS = "
Path to directory ";</div><div>modelica_libs = getModelicaPath();</div><div><br></div><div>pal = xcosPal("Name of Palette");</div><div><br></div><div>scs_m = Line("define");</div><div>export_to_hdf5("
Path to directory\H5\Line.h5 ","scs_m");</div><div>clear scs_m;</div></div><div><br></div><div><div>pal = xcosPalAddBlock(pal,"
 Path to directory\H5\Line.h5","
 Path to directory\ICONS\Line.png","
 Path to directory \ICONS\Line.svg");</div></div><div><br></div><div><div>xcosPalAdd(pal);</div><div>clear pal;</div></div><div><br></div><div><br></div><div>**************************</div><div><br></div><div><br></div>
<div>Everything works well, but when I build a diagram using my Blocks in Xcos and save it, the images of the Blocks dissapear and I just see square boxes with pins (see the figure below). </div><div><br></div><div>Could you help with this issue?</div>
<div><br></div><div>Thank you.</div><div><br></div><div>Best regards,</div><div><br></div><div>Gladys L.</div><div><br></div><div><br></div><div><br><div><img src="cid:ii_1396cba250ca4d98" alt="Imágenes integradas 1"></div>
</div>