Hello all,
we use LoadFromFile utility to load parts , docs, n BOMs in Windchill.
i have a multilevel BOM.
as below..
I Found on Bom.XMl on PTC TAN: 129544.. Which gives a simple BOM.XML as below..
<?xml version="1.0" ?><!DOCTYPE NmLoader SYSTEM "standard70.dtd">
<NmLoader>
<csvCachePart handler="wt.part.LoadPart.cachePart" >
<csvpartNumber>asmA</csvpartNumber>
<csvpartVersion>C</csvpartVersion>
<csvpartIteration></csvpartIteration>
<csvpartView></csvpartView>
</csvCachePart>
<csvCachePart handler="wt.part.LoadPart.cachePart" >
<csvpartNumber>prtC</csvpartNumber>
<csvpartVersion></csvpartVersion>
<csvpartIteration></csvpartIteration>
<csvpartView></csvpartView>
</csvCachePart>
<csvCachePart handler="wt.part.LoadPart.cachePart" >
<csvpartNumber>prtD</csvpartNumber>
<csvpartVersion></csvpartVersion>
<csvpartIteration></csvpartIteration>
<csvpartView></csvpartView>
</csvCachePart>
<csvOccurrencedAssemblyAdd handler="wt.part.LoadPart.addPartToOccurrencedAssembly" >
<csvassemblyPartNumber>asmA</csvassemblyPartNumber>
<csvassemblyPartVersion>C</csvassemblyPartVersion>
<csvconstituentPartNumber>prtC</csvconstituentPartNumber>
<csvconstituentPartQty>1</csvconstituentPartQty>
<csvconstituentPartUnit>ea</csvconstituentPartUnit>
<csvlineNumber>10000</csvlineNumber>
<csvoccurrenceLocation></csvoccurrenceLocation>
<csvreferenceDesignator></csvreferenceDesignator>
<csvassemblyPartIteration></csvassemblyPartIteration>
<csvassemblyPartView></csvassemblyPartView>
</csvOccurrencedAssemblyAdd>
<csvOccurrencedAssemblyAdd handler="wt.part.LoadPart.addPartToOccurrencedAssembly" >
<csvassemblyPartNumber>asmA</csvassemblyPartNumber>
<csvassemblyPartVersion>C</csvassemblyPartVersion>
<csvconstituentPartNumber>prtD</csvconstituentPartNumber>
<csvconstituentPartQty>1</csvconstituentPartQty>
<csvconstituentPartUnit>ea</csvconstituentPartUnit>
<csvlineNumber>100</csvlineNumber>
<csvoccurrenceLocation></csvoccurrenceLocation>
<csvreferenceDesignator></csvreferenceDesignator>
<csvassemblyPartIteration></csvassemblyPartIteration>
<csvassemblyPartView></csvassemblyPartView>
</csvOccurrencedAssemblyAdd>
</NmLoader>
********************************************
This is for only 1 level Child part..
Please any one had done Multilevel BOM Loading Before...Please share the format of MultilevelBom.csv for loading in to Windchill.
Thanks,
Vivek