Methods
Storey
getStoreyByElevation
returns the closest storey to the provided elevation from the first loaded model example usage const elevation = 1 0; const buildingid = "building 1"; const storey = viewer2d getstoreybyelevation(elevation, buildingid); parameters elevation elevation in meters type required number yes buildingid limit to a specific building type required string no return value the storey, null if no storey found type storey docid\ ahkryevrxewggddvv9pwm example { id "398045672938", buildingid "0 rp9o2k5sjl", guid "3em8wby 55kk3tdws3wwjp", name "first floor", modelid "0 vo5tl2lrto", elevation 1 0, };