Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
Is there an API to get the BOM level and the referecne designator values from a Part structure?
You must have WTPartUsageLink object in your hand and then use following API to get vector of populated
WTPartUsageLink objects (means with occurrence information)
OccurrenceHelper.service.getPopulatedOccurrenceableLinksVectorUse another API Vector uses_occurrence = populated_usage_link.getUsesOccurrenceVector();Loop through uses_occurrence (it is a collection of UsesOccurrence objects) and each RefDeisgnator.Let me know this helps.
