How to programatically get BOM for Creo assembly from Windchill with correct quantity
Hi,
I need to export Creo assembly multilevel BOM from Windchill programmatically. I checked IE task Query-Tree and REST Call PTC.CADDocumentMgmt.GetStructure. Both produce correct multilevel BOM, but the same Creo components in BOM are not merged (per level), so the same Creo components are listed multiple times and all quantities are equal to 1.
On the other hand, running Query-Tree on WTPart does produce correct quantities in multilevel BOM.
In both cases I run an equally structured IE task, the only difference was Type. Do I miss some parameter in IE task to produce quantity for EPM Document or is not possible at all?
Any idea is very welcome.
Thanks.

