Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

add Parameter to KeySchedule

2 REPLIES 2
Reply
Message 1 of 3
sobon.konrad
698 Views, 2 Replies

add Parameter to KeySchedule

Is it possible to add a Parameter to Key Schedule? 

 

By default when creating a Key Schedule via keySchedule = ViewSchedule.CreateKeySchedule(doc, categoryId) it will contain one parameter called Key Name. I am interested in adding further paramters (effectively adding Columns to the schedule). 

 

InsertColumn() doesnt work on Key Schedules. I am basically looking for API method to do this:

 

Capture.JPG

 

 

2 REPLIES 2
Message 2 of 3

I don't think you can because the API only allows adding Shared Parameters to a project, and a Key Schedule can't contain a shared parameter for some unknown reason.
Message 3 of 3
Yien_Chao
in reply to: sobon.konrad

and years later... now it's possible in 2022.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community