Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
How to iterate a part using Api?
Solved! Go to Solution.
Checkout
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkout(localWTPart1, WorkInProgressHelper.service.getCheckoutFolder(), null).getWorkingCopy();
Checkin
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkin(localWTPart1, "Checkin comment");
Using WorkInProgreeHelper API you can check in check out WTPart which leads to Iteration
Checkout
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkout(localWTPart1, WorkInProgressHelper.service.getCheckoutFolder(), null).getWorkingCopy();
Checkin
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkin(localWTPart1, "Checkin comment");
Vineeth,
Did Kaushik's and Bjorn's suggestions answer your question? If so, can you please mark the thread as answered?
Thanks,
Lori