Skip to main content
14-Alexandrite
August 26, 2021
Question

Query Spec for later revisions of a part

  • August 26, 2021
  • 1 reply
  • 1152 views

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

5-Regular Member
August 27, 2021

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