# Revision Tracking for Revit Sheets

**URL:** <https://forum.dynamobim.com/t/revision-tracking-for-revit-sheets/32290>\
**Category:** Uncategorized\
**Created:** [February 18, 2019, 7:41pm UTC](https://forum.dynamobim.com/t/revision-tracking-for-revit-sheets/32290 "2019-02-18T19:41:11Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [February 21, 2019, 9:58am UTC](https://forum.dynamobim.com/t/revision-tracking-for-revit-sheets/32290/14 "2019-02-21T09:58:11Z")

</div>

Final Version, thanks to Kenny with the Python 🙂

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/c/7c2f3143b3fef0c234e9158a7ee1e214fd8b37b6.png) [revision tracking-MKA-2.dyn](https://forum.dynamobim.com/uploads/short-url/bLmRilgFT9ve0oc4QVKBNIryGYj.dyn) (21.6 KB)

```
# Copyright(c) 2015, Konrad K Sobon
# @arch_laboratory, http://archi-lab.net
# Thanks Kenny

import clr
# Import Element wrapper extension methods
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.Elements)

# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *

import sys
pyt_path = r'C:\Program Files (x86)\IronPython 2.7\Lib'
sys.path.append(pyt_path)

revisions = UnwrapElement(IN[0])
sheets = UnwrapElement(IN[1])

Output = []

for sheet, revision in zip(sheets, revisions):
    revnum = []
    for rev in revision:
        r = Autodesk.Revit.DB.ViewSheet.GetRevisionNumberOnSheet(sheet, rev.Id) 
        revnum.append(r)        
    Output.append(revnum)
        
OUT = Output

```

Edit: Just a couple of other thoughts…

I’ve added a bit to the beginning of the graph to Clear all the Issue values. Otherwise if someone’s put something in where it should be blank, that would remain.

You’ll likely want a way of recording the sending out of drawings at the same issue. E.G. you send tender drawings to the client, then a week later you’re asked to send the same drawings at the same revision to a contractor. Perhaps you could use the ‘Issued to’ revision parameter to log those and Dynamo could read them somehow?

---

_[View the full topic](https://forum.dynamobim.com/t/revision-tracking-for-revit-sheets/32290)._
