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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Query Spec for later revisions of a part

Sha11
14-Alexandrite

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.

Announcements

Top Tags