@procore/bim-webviewer-sdk 6.6.0 → 6.7.0-estimating-dev.3
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 +47 -0
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,53 @@ 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
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- [Internal] Added ApiController jasmine test
|
|
13
|
+
- Added `api.getNamesForObjects` which takes array of object ids as a parameter and returns the array of names with each ids.
|
|
14
|
+
- Added ability to select similar objects from the context menu.
|
|
15
|
+
- Added `model.getObjects` which takes an array of object ids as a parameter and returns an array of objects.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- [Internal] Moved apiController into its own folder
|
|
20
|
+
|
|
21
|
+
## [6.7.0] - 2022-02-13
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- Added a new `gui` namespace:
|
|
26
|
+
- `gui.addContextMenuItem(...)`: Appends a new entry in the Context Menu;
|
|
27
|
+
- `gui.removeContextMenuItems(...)`: Removes a set of entries from the Context Menu;
|
|
28
|
+
- Added `model.getObject` which takes a object id as a parameter and returns a node object.
|
|
29
|
+
- Added Hidden Objects api to the Web Viewer SDK and adds the following
|
|
30
|
+
- `model.hideObjects` to hide objects by id
|
|
31
|
+
- `model.unhideAllObjects` to unhide all objects
|
|
32
|
+
- `model.unhideObjects` to unhide objects by id
|
|
33
|
+
- `model.getHiddenObjects` to get an array of object ids that are hidden
|
|
34
|
+
- Added Selected Objects api to the Web Viewer SDK and adds the following
|
|
35
|
+
- `model.selectObjects` to select objects by id
|
|
36
|
+
- `model.selectAllObjects` to select all objects
|
|
37
|
+
- `model.deselectObjects` to deselect objects by id
|
|
38
|
+
- `model.deselectAllObjects` to deselect all objects
|
|
39
|
+
- `model.getSelectedObjects` to get an array of object ids that are selected
|
|
40
|
+
- Added `model.getNumObjectsSelected` which returns number of selected objects. The number is determined by the selection method passed in (defaulting to `FirstObject`)
|
|
41
|
+
- `getNumObjectsSelected("FirstObject")` => number of first objects
|
|
42
|
+
- `getNumObjectsSelected("Object")` => number of objects
|
|
43
|
+
- getNumObjectsSelected("Geometry")` => number of geometries
|
|
44
|
+
- Added `model.getRootObject` which returns the root object.
|
|
45
|
+
- Added `objectDeselect` event that includes object ids of all objects that were deselected
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
|
|
49
|
+
- Changed `selectedUpdated` event to include the object ids of the currently selected objects
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- `camera.getBcfCamera` was returning a wonky `camera_up_vector` value. It now returns the correct value.
|
|
54
|
+
|
|
8
55
|
## [6.6.0] - 2022-01-23
|
|
9
56
|
|
|
10
57
|
### Changed
|