Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
How to Revise a part using Api? want a sample program
Using the same code you can Revide WTPart also.
The above code is written in WorkFlow so you may have to change it a bit in order to suit your requirement
Regards,
Kaushik
