Key Schedule + KeyScheduleParameterName + Revit API

Key Schedule + KeyScheduleParameterName + Revit API

gopinath.rajendran
Enthusiast Enthusiast
694 Views
2 Replies
Message 1 of 3

Key Schedule + KeyScheduleParameterName + Revit API

gopinath.rajendran
Enthusiast
Enthusiast

Is there any way to link KeyScheduleParameterName with Key Schedule in the unique except its' name?

 

Keyschedule.PNG

0 Likes
695 Views
2 Replies
Replies (2)
Message 2 of 3

michael-coffey
Advocate
Advocate

If I'm interpreting you correctly, you are trying to link the key to the key schedule and it's property ViewSchedule.KeyScheduleParameterName.  You have to iterate the Elements in the model, then check if its OwnerViewId is assigned to a ViewSchedule.  When you have that ViewSchedule, then you can get its KeyScheduleParameterName.

0 Likes
Message 3 of 3

gopinath.rajendran
Enthusiast
Enthusiast

The elements in the Key Schedule are different from the key parameter which included in the elements.

 

Keyparam.PNG

 

Keyparam added as a parameter in Door Instance

ParameterInElement.PNG

The parameter element is coming from the key schedule. Is there any access that info directly from  the key schedule

0 Likes