lib/to_openstudio/load/people.rb in honeybee-openstudio-2.9.2 vs lib/to_openstudio/load/people.rb in honeybee-openstudio-2.10.0
- old
+ new
@@ -35,10 +35,10 @@
module Honeybee
class PeopleAbridged
def find_existing_openstudio_object(openstudio_model)
- model_people = openstudio_model.getPeopleDefinitionByName(@hash[:identifier])
+ model_people = openstudio_model.getPeopleByName(@hash[:identifier])
return model_people.get unless model_people.empty?
nil
end
def to_openstudio(openstudio_model)
\ No newline at end of file