Skip to content

Commit

Permalink
add space Type optional handler
Browse files Browse the repository at this point in the history
  • Loading branch information
weilixu committed Jul 26, 2023
1 parent acaa6c9 commit d16eaa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def space_type_light_sch_change(model)
# set schedule for lighting
schedule_hash = {}
model.getSpaces.each do |space|
space_type = space.spaceType.get
space_type = prm_get_optional_handler(space, @sizing_run_dir, 'spaceType')
if has_additional_feature(space_type, 'regulated_lights_name')
lights_name = space_type.additionalProperties.getFeatureAsString('regulated_lights_name').to_s
ltg_option = space_type.model.getLightsByName(lights_name)
Expand Down

0 comments on commit d16eaa3

Please sign in to comment.