@procore/bim-webviewer-sdk 6.7.0-rc.0 → 6.8.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
7
7
 
8
+ ## [6.8.0] - 2023-02-27
9
+
10
+ ### Added
11
+
12
+ - Added `api.getNamesForObjects` which takes array of object ids as a parameter and returns the array of names with each ids.
13
+ - Added ability to select similar objects from the context menu.
14
+ - Added `model.getObjects` which takes an array of object ids as a parameter and returns an array of objects.
15
+
8
16
  ## [6.7.0] - 2022-02-13
9
17
 
10
18
  ### Added
@@ -12,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
20
  - Added a new `gui` namespace:
13
21
  - `gui.addContextMenuItem(...)`: Appends a new entry in the Context Menu;
14
22
  - `gui.removeContextMenuItems(...)`: Removes a set of entries from the Context Menu;
15
- - Added `this.viewer.model.getObject` to the Web Viewer SDK which takes a object id as a parameter and returns a node object.
23
+ - Added `model.getObject` which takes a object id as a parameter and returns a node object.
16
24
  - Added Hidden Objects api to the Web Viewer SDK and adds the following
17
25
  - `model.hideObjects` to hide objects by id
18
26
  - `model.unhideAllObjects` to unhide all objects
@@ -33,12 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
33
41
 
34
42
  ### Changed
35
43
 
36
- - [Internal] Updates most of the viewer's dependencies.
37
44
  - Changed `selectedUpdated` event to include the object ids of the currently selected objects
38
- - [Internal] `VisibleObjectsCache` was revamped in the following ways:
39
- - Renamed `RelevantMeshnodesSet`;
40
- - Uses a spatial index (`KDTree`) to store the meshnodes instead of arrays;
41
- - Adds a `cullTree` function, taking the same arguments as `SceneGraph.cullTree()`.
42
45
 
43
46
  ### Fixed
44
47