Methods
View
lookAt
adjusts the viewbox so that the specified objects are visible example usage const objectids = \["object 1", "object 2"]; const options = { expand 10, retainstoreys true, }; viewer2d lookat(objectids, options); parameters objectids ids of the objects to look at type required array\[string] yes options options for adjusting the viewbox type required object no properties if any of the objects are visible the default value for retainstoreys is true , otherwise the default value is false name type required description expand number or vector2 docid\ hfhnmbfsrrrisube9wggy no expand the view in meters surrounding the objects retainstoreys boolean no keep current storeys