Showing results for 
Search instead for 
Did you mean: 

revision_list property




my requirement is to get the latest ItemRevision from Item using SOA if an itemRevision is input.


My question is: will the last revision in revision_list property always give the latest revision ?


In other words, does revision_list property always returns itemRevision in sequence of creation ?




Re: revision_list property

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
I think "sequence of creation" are the right words to use. Revisions are ordered by creation date.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 12 | SW 2017 | Creo 4 | TcUA 11.4
Evaluating:AW 3.4

Re: revision_list property

Siemens Phenom Siemens Phenom
Siemens Phenom

Something like this works for me but I never checked if I really get the lastest revision if users are doing some weird things on revising in TC.


ItemRevision lastRev = item.Revision_list[item.Revision_list.Length - 1]


Re: revision_list property


Thank you for your responses.


@xtof: That's what concerns me and therefore want to make sure if there could be such a case.


I could not find anything in TC Doc about this, do you guys have an idea ?

Re: revision_list property


After the discussion with my colleague today the requirement was clarified and as the requirement does not demand that accuracy regarding creation date.


So I can conclude this discussion here. Thanks again for your responses Smiley Happy