Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!

Enhanced API access to load schedules

Suppose I have an HVACLoadType object and want to extract the Parameters SPACE_OCCUPANCY_SCHEDULE_PARAM, SPACE_POWER_SCHEDULE_PARAM or SPACE_LIGHTING_SCHEDULE_PARAM.

 

What I get is an Element with no way to cast this to a higher level Revit API object wrapper (I would propose something like HVACLoadSchedule) that would allow me to read the actual values from the schedule (which is 24 doubles between 0 and 1).

 

What I would like to see is a small API addition that fills this remaining gap in reading "Space Type" information. As a side note: when I ask for the schedule's element name, the resulting string is truncated. So instead of "Something 06:00 - 23:00" I usually only get something like "00 - 23:00".