I want to grab the 16 revisions and move them to the end of my sequence list.
You can do it manually for each revision in Revit with the “move down” command but I got 669 row to move times 16 revisions and it takes 5/10 seconds for every row = a stupid amount of time wasted…
As you can see, you will need to figure out what your desired sequence is for the revisions, put them ALL in a list and just feed that new order into the Revisions.SetSequence node.
This method allows the caller to change the sequence of the Revisions within the project by specifying the new sequence. The specified sequence must include every Revision in the project exactly once.
Note that changing the sequence of Revisions can change the SequenceNumber and RevisionNumber of Revisions that have already been issued.
However Dynamo can’t recognise the date properly and puts randomly 2017 and 2018 based on first 4 digits.
I’d say that was a bit harsh and not very Christmassy
So if you think how Dynamo is thinking… It’s ordering by number (e.g. 01.03.18 comes before 02.02.19) then it’s putting the letters at the end… so 01.03.18 comes before xx.03.19 comes before xx.06.18
Here’s a way of putting it back together… this is for the particular xx.Month.Year format you are using, but you get the idea… if people could just use xx.xx.xx it would be better (particularly this late in the month and the year!)
So if you think how Dynamo is thinking… It’s ordering by number (e.g. 01.03.18 comes before 02.02.19) then it’s putting the letters at the end… so 01.03.18 comes before xx.03.19 comes before xx.06.18
You’re right I didn’t mean to be the Grinch here, sorry Dynamo.
I didn’t do much compared to Konrad writing a custom node and uploading a new version of his package for us!
The nulls are a funny one, I haven’t sorted that very well… I guess they should be auto set to the date they were issued or to an xx value if they’ve not been?
Capturing oddities like that’s where the graphs start to balloon…
THAT WORKFLOW IS REALLY REALLY DANGEROUS DON’T USE IT
So let’s see how it might be used in practice…
A sheet has been issued 5 times, it has incorrect dates in it’s revisions…
E 12.05.18
D 06.05.18
C xx.04.18
B 03.02.18
A 01.03.18
Using the graph would make it…
E xx.04.18
D 12.05.18
C 06.05.18
B 01.03.18
A 01.03.18
Which is numerically correct BUT NOT HOW THE SHEET WAS ISSUED.
Dynamo should be used to reorder 1 revision at a time (still a great time saver). Or to highlight mistakes, but don’t do a wholesale reorder without being very sure of yourself.