Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello,
What is the easiest method to export a BOM reports to use in Arbortext IsoDraw?
IsoDraw accepts xml files for BOM creation in specific format, and I would like to export the necessary xml file from Windchill.
Thanks in advance.
Kind Regards,
Andaç ADAL
Solved! Go to Solution.
Starting from Windchill 10 you can export a BOM in XML format, from the Structure tab.
Starting from Windchill 10 you can export a BOM in XML format, from the Structure tab.
Hello Marco,
Thank you for your reply. The structure of XML files varies. The output format of Structure tab and Input format of IsoDraw are different.
For instance;
From the structure tab, I get an XML report like this:
<SearchResults>
<TableHeader>
<ColumnName>File Name</ColumnName>
<ColumnName>Number</ColumnName>
<ColumnName>Version</ColumnName>
</TableHeader>
<Object>
<Attribute>kry_fren_piston_grubu.asm</Attribute>
<Attribute>3ab</Attribute>
<Attribute>B.4</Attribute>
</Object>
<Object>....................
IsoDraw accepts XML reports like this:
<partsList xmlns="http://www.ptc.com/SIS/2010" version="1.0">
<cadModel>
<item calloutValue="KRY_FREN_PISTON_GRUBU">
<occurrence>
<instance isoId="kry_fren_piston_grubu.asm"/>
</occurrence>
</item>
<item..........................
So I need to convert XML files that can cause mistakes.
Do you know any best practices for this issue. Can I import XML files -more- directly?
I'm sorry but I can't give you any advice.
I want to share what I can do for converting BOM reports to use in IsoDraw.
I appreciate who helps us to go further for a more stable solution.
I created an executable JAR file. In this JAR I run a class that uses Saxon library methods.
I write an xslt file to make translations and saved it on file system. I also saved the Windchill Structure report XML file to my file system.
In the code, I process the input file by the xslt file with Saxon library methods.
I put the output file to my filesystem, then I import converted XML file into IsoDraw.
That's what I did so far.
It is good to share. Thanks for reading.
Kind regards,
Andaç
Hello aadal,
Could you please help me with the API to download Product structure as XML in Windhcill?
Regards,
Srivalli.