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

How to iterate a part using Api?

ptc-6328570
1-Visitor

How to iterate a part using Api?

How to iterate a part using Api?

ACCEPTED SOLUTION

Accepted Solutions

Checkout

localWTPart1 = (WTPart)WorkInProgressHelper.service.checkout(localWTPart1, WorkInProgressHelper.service.getCheckoutFolder(), null).getWorkingCopy();

Checkin

localWTPart1 = (WTPart)WorkInProgressHelper.service.checkin(localWTPart1, "Checkin comment");

View solution in original post

3 REPLIES 3
KD
12-Amethyst
12-Amethyst
(To:ptc-6328570)

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");

LoriSood
22-Sapphire III
(To:ptc-6328570)

Vineeth,

Did Kaushik's and Bjorn's suggestions answer your question? If so, can you please mark the thread as answered?

Thanks,
Lori

Announcements


Top Tags