@procore/bim-webviewer-sdk 8.0.0-rc.2 → 8.1.0-BIM-3069.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 +39 -0
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,45 @@ 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
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- [Internal] Refactors `Partition` and introduces `PartitionProxy` in preparation for the productization of partitioned models.
|
|
13
|
+
|
|
14
|
+
## [8.1.0] - 2023-10-02
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- The following SDK methods now optionally take a `objectTreeName` parameter which defaults to `default` if not specified. This parameter is used to specify which `ObjectTree` to use when the Web Viewer has multiple `ObjectTree` instances such as when a filter has been applied.
|
|
19
|
+
- `model.getObject`
|
|
20
|
+
- `model.getObjects`
|
|
21
|
+
- `model.getRootObject`
|
|
22
|
+
- `model.hideObjects`
|
|
23
|
+
- `model.hideAllObjects`
|
|
24
|
+
- `model.unhideObjects`
|
|
25
|
+
- `model.selectObjects`
|
|
26
|
+
- `model.deselectObjects`
|
|
27
|
+
- `model.selectAllObjects`
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Added new SDK methods to construct and clear a filtered Object Tree.
|
|
32
|
+
- `api.filterObjects` takes an `ObjectFilter` object and returns a `Promise` that resolves to a standard response object.
|
|
33
|
+
- `model.filterObjectTree` takes an array of object ids and returns a Promise<void>.
|
|
34
|
+
- When the filtered object tree is active, the following methods can operate on the filtered object tree when you pass in `filtered` as the `objectTreeName` parameter.
|
|
35
|
+
- `model.hideObject`
|
|
36
|
+
- `model.hideAllObjects`
|
|
37
|
+
- `model.unhideObjects`
|
|
38
|
+
- `model.selectObjects`
|
|
39
|
+
- `model.selectAllObjects`
|
|
40
|
+
- `model.deselectObjects`
|
|
41
|
+
- `model.getObject`
|
|
42
|
+
- `model.getObjects`
|
|
43
|
+
- `model.getRootObject`
|
|
44
|
+
- `model.clearObjectTreeFilter` that clears the filtered object tree and returns a Promise<void>.
|
|
45
|
+
- Added new event `objectTreeUpdated` that gets published when you filter and or clear the filtered object tree.
|
|
46
|
+
|
|
8
47
|
## [8.0.0] - 2023-09-05
|
|
9
48
|
|
|
10
49
|
### Added
|