Because we use Per Sheet revisions exclusively having the revision sequence number doesn’t really help too much as it doesn’t match the revision number on the sheet.
I have the output and list stuff all sorted its just the revision number as it is on the sheet that is stumping me.
We have pretty much hit the limit of my logic skills at this point, which is why i was trying to get the Revision on Sheet parameter directly.
I also tried it with the code block but I’m not sure how if/and works. My idea was the first boolean list shows if there was that sequence on the sheet, and the next is whether it was numeric or alphanumeric. But I’m stumped. It gets complicated quickly. The bottom code/watch shows the desired output.
Ok so i have it working for 1 sheet. I just have to sort out the lacing i guess for it to do all sheets (and remove the first item nodes). And then re-set up the formatting and output etc.
Ok so i figured it out. i was missing an extra transpose and list map.
Here is the finished definition if anyone is interested.
It will take all sheet revisions and export an xls file to My Documents. It works for Per Sheet revisions with the correct revision on sheet number and works for both Numeric and Alphanumeric and even switching between the two. It also skips sheets with no revision.