Methods
Storey
getStoreys
returns the list of storeys by default returns storeys for the active building if applicable otherwise returns all storeys example usage const options = { all true, }; const storeys = viewer2d getstoreys(options); parameters options options for getting storeys type required object no properties name type required description all boolean no get storeys from all models buildingid string no get storeys for a specific building visible boolean no don't include storeys that are not visible return value list of storeys type array\[ storey docid\ ahkryevrxewggddvv9pwm ] example \[ { id "398045822938", buildingid "0 rp9o1l6sjl", guid "3em8wby 52kk5tdws3wwjp", name "first floor", modelid "0 vo5te5rrto", elevation 1 0, }, { id "398065292939", buildingid "0 rp9o1f7sjl", guid "3em8wby 53dd6tdws3wwjn", name "second floor", modelid "0 vo53l54rto", elevation 5 0, }, ];