You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Viewer 2D API can be automatically initialized by using the DOM data API or manually initialized in JavaScript.
14
14
15
-
**Note** In the example below, nothing will be displayed until you use the [showStorey](/developers/reference/viewer-2d#showstorey)
15
+
**Note** In the example below, nothing will be displayed until you use the [showStorey](/)
16
16
17
-
**Note** If you are using the Viewer 3D API and want a predefined 2D/3D integration you can use our [Viewer Widget API](/developers/reference/viewer-ui/1.0).
17
+
**Note** If you are using the Viewer 3D API and want a predefined 2D/3D integration you can use our [Viewer Widget API](/).
18
18
19
19
## DOM Data API
20
20
@@ -70,15 +70,15 @@ The Viewer 2D API can be automatically initialized by using the DOM data API or
70
70
</html>
71
71
```
72
72
73
-
1. Create a viewer access token by using the **POST v2/projects/:project/viewer2d/token** described in the [Bimsync REST API](/developers/reference/api/v2#create-viewer2d-token).
73
+
1. Create a viewer access token by using the **POST v2/projects/:project/viewer2d/token** described in the [Bimsync REST API](/).
74
74
75
75
2. Add the Viewer 2D framework to you application.
76
76
77
77
3. Create a Viewer 2D element. The data attribute _data-viewer2d="svg"_ must be included. The data attribute _data-url_ must be the _url_ field from a viewer access token.
78
78
79
79
## JavaScript
80
80
81
-
1. Create a viewer access token by using the **POST v2/projects/:project/viewer2d/token** described in the [Bimsync REST API](/developers/reference/api/v2#create-viewer2d-token).
81
+
1. Create a viewer access token by using the **POST v2/projects/:project/viewer2d/token** described in the [Bimsync REST API](/).
82
82
83
83
2. Create a DIV element which will contain the 2D-viewer.
Copy file name to clipboardExpand all lines: docs/Viewer 3D/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ The viewer can either be automatically initialized by using the DOM data API or
25
25
></div>
26
26
```
27
27
28
-
1. Create a viewer access token by using the **POST v2/projects/:project/viewer3d/token** resources in the [Bimsync REST API](/developers/reference/api/v2#create-viewer3d-token).
28
+
1. Create a viewer access token by using the **POST v2/projects/:project/viewer3d/token** resources in the [Bimsync REST API](/).
29
29
30
30
2. Add the viewer framework to you application:
31
31
32
32
3. Create a viewer instance. The data attribute _data-viewer_ must have the value _webgl_. The data attribute _data-url_ must be the _url_ field from a viewer access token.
33
33
34
-
To enable the [Viewer UI plugin](/developers/reference/viewer-ui/1.0), add the data attribute, _data-ui_, to the viewer element. See the [Viewer UI plugin documentation](/developers/reference/viewer-ui/1.0) for more info.
34
+
To enable the [Viewer UI plugin](/), add the data attribute, _data-ui_, to the viewer element. See the [Viewer UI plugin documentation](/) for more info.
35
35
36
36
### JavaScript
37
37
@@ -62,11 +62,11 @@ To enable the [Viewer UI plugin](/developers/reference/viewer-ui/1.0), add the d
62
62
</script>
63
63
```
64
64
65
-
1. Create a viewer access token by using the **POST v2/projects/:project/viewer3d/token** resources in the [Bimsync REST API](/developers/reference/api/v2#create-viewer3d-token).
65
+
1. Create a viewer access token by using the **POST v2/projects/:project/viewer3d/token** resources in the [Bimsync REST API](/).
66
66
67
67
2. Create a DIV element which will contain the viewer.
68
68
69
-
To enable the [Viewer UI plugin](/developers/reference/viewer-ui/1.0), a parameter could be passed to the bimsync.load() method. See the [Viewer UI plugin documentation](/developers/reference/viewer-ui/1.0) for more info.
69
+
To enable the [Viewer UI plugin](/), a parameter could be passed to the bimsync.load() method. See the [Viewer UI plugin documentation](/) for more info.
0 commit comments