I'm new to dia, and I'd like to import custom models homemade. But I can't achieve how to do this.
Here is what I did :
1 . Creation of a Engine.shape file (for instance) like this :
<?xml version="1.0" standalone="no"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
<name>Engine</name>
<description>Noeud de type SoEngine et dérivés</description>
<connections>
<point x="-0.468706" y=""0.758992"/>
<point x="2.78129" y="1.20899"/>
</connections>
<aspectratio type="free"/>
<svg:svg width="6cm" height="3cm">
<svg:rect style="fill: #ffffff" x="0" y="0"
width="2" height="2"/>
<svg:rect style="stroke-width: 0.15; stroke:
#000000" x="0" y="0" width="2" height="2"/>
<svg:rect style="fill: #ffffff" x="-0.218706"
y="0.833992" width="2.425" height="0.3"/>
<svg:rect style="stroke-width: 0.001; stroke:
#ffffff" x="-0.218706" y="0.833992" width="2.425" height="0.3"/>
<svg:line style="stroke-width: 0.15; stroke:
#000000" x1="-0.468706" y1="0.758992" x2="0.656294" y2="0.758992"/>
<svg:polygon style="fill: #000000" points="0.256294,0.958992
0.656294,0.758992 0.256294,0.558992 "/>
<svg:line style="stroke-width: 0.15; stroke:
#000000" x1="2.00629" y1="1.18399" x2="2.78129" y2="1.20899"/>
<svg:polygon style="fill: #000000" points="2.37505,1.39599
2.78129,1.20899 2.38795,0.996199 "/>
</svg>
</shape>
2. Creation of a sub dir in ~.dia/shapes, called OpenInventor.
3. Copying the files into it.
4. running DIA. I know it take them into account cause I've forgotten to change the name of a node (Group) and it shows me a popup.
I can't see any of my shapes, nor Group.
What I have to do ?????
Regards
Cyril ZEKSER