cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Query Spec for later revisions of a part

Sha11
12-Amethyst

Query Spec for later revisions of a part

Hello,

 

I want to write a query spec in such a way that it should give only the later revisions of a part from a specific version and not the old versions. If any of you got such functionality already, please comment the same.

 

Thanks,

Sha

1 REPLY 1
giulix
5-Regular Member
(To:Sha11)

Use VersionControlHelper.service.allIterationsOf(iterated_obj). This service returns all iterations of the selected object, from last to first. Then pick what you need.

Top Tags