Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
I have project object with me and how can get plan from the project object in windchill. is there any api to this ?
Hi @PK_11615540 ,
Thank you for your question!
I’d like to recommend to bring more details and context to your initial inquiry.
It also helps to have screenshot(s) to better understand what you are trying to do in your process.
Please refer to this guideline to make your questions more likely to receive a quick and useful answer.
This will increase your chances to receive meaningful help from other Community members.
Furthermore, please consult this Community Search guideline as well, which boosts up your chances of finding a resolution to your topic(s) much faster, as well as making use of our Knowledge Base.
Thank you for your participation and please let me know if you need further assistance!
Best regards,
Hi @PK_11615540
It is simple method in a PlanHelper
Input can be Project2 or PDMLinkProduct
Project2 context = getProject("MYPROJECT") // custom method to search a Project by name
WTList planList = PlanHelper.service.getPlans(ObjectReference.newObjectReference((Persistable)context));
PetrH