1 Reply Latest reply on Apr 9, 2015 1:28 AM by Deepak Gupta

    How to insert "Detailed Cutlist" when using BOM API?

    Charlie Fan

      Hi every one,

       

      I tried to use API to insert a Bill of Material into the model.

       

      I have made the following working:

       

      =======================================

      swModel.Extension.InsertBomTable(BOMTemplate, 0, 0, (int)SwConst.swBomType_e.swBomType_Indented, "Default");

      =======================================

       

      But even if I assigned the swBomType to be "swBomType_Indented", it still not what I want., since the quantity is the overall cutting length, I want the length for each cutting item.

       

      I need that "detailed cutlist" to be working but can't find any help searching.

       

      Capture.PNG

       

      Does anyone know how to write this in macro or vba or API?