Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
use the below api to achieve the same result,
wt.vc.VersionControlHelper.service.allIterationsOf(Mastered master)
It return the QueryResult and finds all of the iterations of the given master. The result is an ordered list of iterations from the most recent one to the first one created for that version, e.g. (B.2, B.1, A.3, A.2, A.1).
Regards,
Avinash
Hi Avinash,
please can we provide some more info on how to use above mentioned API.
It will be grate if you provide some example on this API.
Thanks,
Vivek
Vivek,
Check if the following example helps:
EPMDocument target=null; // get your cad document handle
QueryResult qr = VersionControlHelper.service.allIterationsOf((EPMDocumentMaster)target);
while (qr.hasMoreElements()) {
EPMDocument iteration = (EPMDocument) qr.nextElement();
}
Regards,
Bhushan