how to change the dates in current set of sheets at single shot.

how to change the dates in current set of sheets at single shot.

vinaykrishnapoojary
Participant Participant
970 Views
5 Replies
Message 1 of 6

how to change the dates in current set of sheets at single shot.

vinaykrishnapoojary
Participant
Participant

Hi all,

 

Really i am strugling for changing the dates in each sheets is there any options/programe for changing the dates certain printing set sheets/view groups.

 

Thanks & Regards

Vinay Krishna

0 Likes
971 Views
5 Replies
Replies (5)
Message 2 of 6

augusto.goncalves
Alumni
Alumni
Are you using the ViewSheet object to change this via API?
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 3 of 6

Troy_Gates
Advocate
Advocate

Here is some code to look at:

 

Loop through all the ViewSheet elements in the document and set the parameter to a date.

 

foreach(ViewSheet vs in new FilteredElementCollector(doc).OfClass(typeof(ViewSheet)))
{
	vs.LookupParameter("Sheet Issue Date").Set("05/21/2015");
}

 

Message 4 of 6

vinaykrishnapoojary
Participant
Participant
How to insert this code to revit
0 Likes
Message 5 of 6

vinaykrishnapoojary
Participant
Participant

i am new to this  revit devoloping could any one give me sugestion to insert this code

0 Likes
Message 6 of 6

augusto.goncalves
Alumni
Alumni
Please take a look at www.autodesk.com/myfirstrevitplugin for "getting started" information
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes