Revisions on sheet

Revisions on sheet

chris.slattery
Contributor Contributor
1,151 Views
2 Replies
Message 1 of 3

Revisions on sheet

chris.slattery
Contributor
Contributor

Does anyone know if there is a way to access the Revisions on Sheet parameter? I would like to add that to a drawing list table so I can turn these on and off from one location instead of selecting each sheet one at a time.

0 Likes
1,152 Views
2 Replies
Replies (2)
Message 2 of 3

Yien_Chao
Advisor
Advisor

it's a good one...

 

to get all revision on a sheet you will need .GetAllRevisionIds(). 

let's say Rev_List = sheet.GetAllRevisionIds()

 

to add revision, you will need to add the revision to the existing  list of ids (revision's ids)

Rev_List.Add(id)

 

and to set set revision on sheet is :

sheet.SetAdditionalRevisionIds(Rev_List)

 

And i assume you want to do it by an Excel schedule?

 

Message 3 of 3

chris.slattery
Contributor
Contributor

I did not think of doing it in Excel. I was thinking to just have a list of the sheets in a Revit Drawing List with new columns for the Revisions on Sheet with a yes or no and have that turn on the revision on those sheets. At least that would be all in one location and I could select several sheets at one time and change it to yes or no.

0 Likes