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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

WTPart related part instances (WTProductInstance2) retreival

CorySkradski
1-Visitor

WTPart related part instances (WTProductInstance2) retreival

What is the API to retrieve all part instances (WTProductInstance2) for a given WTPart? I could not locate any information in the JavaDoc or customizer's guide.


Cory Skradski

4 REPLIES 4

Look at classes in wt.part package? Queryspec to get them directly using a join.


Sent from my Verizon Wireless 4G LTE Smartphone

If I understand correctly, it may be possible for you to retrieve this information based on settings for the Iteration and Version parametersof the WindchillSearchService.search(SearchInfo) API. If you think this might address your question, you can find the documentation at the following location in the Windchill 10.1 Help Center on ptc.com:


http://www.ptc.com/cs/help/windchill_hc/wc101_hc/index.jspx?id=WCCG_UICust_CustSearch_solr&action=show


Regards,


Jane


Jane Zupfer
VP, Enterprise Products Publications

T
E -

ConfigurationHelper.service.getAllInstances((ConfigurationManageable)wtpart)
;



Should retrieve all the instances.



Thank you and have a great time.

Best Regards

Swamy Senthil

Principal Solutions Architect, Swasen Inc

swamy.senthil@swasen.com(Email); 909 800 8423(M); 973 324 2729(W); 866
908 6561(F);




Great! Thank you all for your suggestions/comments.


I think the ConfigurationHelper service interface will provide the capability I need.


Thanks again!


Cory Skradski

Announcements

Top Tags