Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

.styxml material files

Status
Not open for further replies.

ksparks

Mechanical
Jul 7, 2008
3
My company is making the slow transition from Inventor to SolidWorks2008 and I've run into a major inconvenience with the material properties. Our mechanical tech exported the material files from Inventor to a file format that supposedly works for SolidWorks, *.styxml, but I haven't found any way to access these files through SolidWorks. I've tried copying the data through notepad into a custom materials database, but I get an "undisclosed XML file error" when I try to open that database.

Here is a sample of the exported code from Inventor.

<?xml version="1.0" encoding="utf-16"?>
<Export><!--Exported by Autodesk Inventor Version 12.0 Service Pack 2 Production Candidate--><!--The schema of this file is subject to change without notice and is not guaranteed to remain the same from one release to the next.--><Colors Version="12"><Style InternalName="1:Metal-Steel
" EditFlag="0" Ambient="0.639216 0.639216 0.639216 1" Diffuse="0.639216 0.639216 0.686275 1" Specular="0.588235 0.588235 0.588235 1" Emissive="0 0 0 1" Shininess="25" IsMasked="0" Mask="0 0 0 0" Opacity="100" Scale="1" Rotation="0" TextureFile="" TexturePath="0" ShowBackFaces="0" ReflectionImageFile="" ReflectionImagePath="0" Refraction="1" BumpMapImageFile="" BumpMapImagePath="0" BumpMapAmount="1" BumpMapScale="1" BumpMapRotation="0"><Name Language="1033" Description="">Metal-Steel</Name><Name Language="1028" Description="" Category="??">??–?</Name><Name Language="1029" Description="" Category="Kovy">Kov-Ocel</Name><Name Language="1031" Description="" Category="Metalle">Metall - Stahl</Name><Name Language="1036" Description="" Category="Métaux">Métal - Acier</Name><Name Language="1038" Description="" Category="Fémek">Fém - acél</Name><Name Language="1040" Description="" Category="Metalli">Acciaio metallizzato</Name><Name Language="1041" Description="" Category="Metals">Metal-Steel</Name><Name Language="1042" Description="" Category="??">??-?</Name><Name Language="1045" Description="" Category="Metale">Metal-Stal</Name><Name Language="1046" Description="" Category="Metais">Metal-ferro</Name><Name Language="1049" Description="" Category="???????">?????? - ?????</Name><Name Language="2052" Description="" Category="??">?? - ?</Name><Name Language="3082" Description="" Category="Metales">Acero metálico</Name></Style></Colors><Materials Version="1"><Style InternalName="1:AISI 1018
" EditFlag="0" Density="7.86" YoungsModulus="220" PoissonsRatio="0.275" YieldStrength="372.316" UltimateTensileStrength="345" ThermalConductivity="56" LinearExpansion="1.2" SpecificHeat="460" WeldmentMaterial="0"><SubStyle Type="ColorStyle" Language="1033" Collection="Colors">Metal-Steel</SubStyle><Name Language="1033" Description="">AISI 1018</Name></Style></Materials></Export>

My question is, are there special headers (like <material name=....> that are required to go around this for SolidWorks to read it, or is there a modification that I need to make to the .styxml files to have them recognizable by SolidWorks.

I have thought about adding each of the 50 materials (mostly ASTM standards) to the database separately, checking back with Inventor to make sure I'm not missing any data, but I want to see if there is an easy way in existance before I undertake that endeavor.

Thanks,

Kyle
 
Replies continue below

Recommended for you

Unfortunately most of the materials are tungsten/steel alloys, or aluminum alloys that aren't in ctopher's database.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor