AnsweredAssumed Answered

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

Question asked by Hansjoerg Kauschke on Feb 22, 2017
Latest reply on Feb 23, 2017 by Steven Barry

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);