cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

API to fetch the BOM level and refrence designators

praseeth.moothe
1-Newbie

API to fetch the BOM level and refrence designators

Hi,


Is there an API to get the BOM level and the referecne designator values from a Part structure?


1 REPLY 1

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.


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
Top Tags