1 Reply Latest reply on Feb 23, 2017 6:54 PM by Steven Barry

    C# How can I get the used configuration of each component via bomtableannotation?

    Hansjoerg Kauschke

      The following code snippet can be used to get all item numbers to each components. But I can't find a way for getting the used configuration of each component. Does somebody know a solution?


      BomTableAnnotation swBomAnn = default(BomTableAnnotation);

      swBomAnn = m_swModelDocExt.InsertBomTable2(path, x, y, (int)swBomType_e.swBomType_TopLevelOnly, Configuration, Hidden);

      string ItemNumber = null;

      string PartNumber = null;

      swBomAnn.GetModelPathNames(i, out ItemNumber, out PartNumber);