Revit API

Reply
Distinguished Contributor
chuck.han
Posts: 122
Registered: ‎09-27-2004
Message 1 of 2 (409 Views)

ViewSheet (Title Block) common parameters

409 Views, 1 Replies
06-08-2012 12:00 PM

For the Autodesk-provided ViewSheets (Title Blocks) such as "E1 30x42 Horizontal," I can programmatically access and change parameters of a ViewSheet instance such as "Sheet Name" and "Sheet Number' by finding them in viewSheet.parameters.  However, it's not clear to me how I can discover and change the common (shared?) parameters such as "Client Name."

 

Thanks in advance, Chuck

Distinguished Contributor
chuck.han
Posts: 122
Registered: ‎09-27-2004
Message 2 of 2 (405 Views)

Re: ViewSheet (Title Block) common parameters

06-08-2012 03:20 PM in reply to: chuck.han

Never...mind.  My...bad:

 

ProjectInfo projectInfo = app.ActiveUIDocument.Document.ProjectInformation;

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!