Skip to content

Commit ea57279

Browse files
Merge pull request #10580 from mendix/nc-split-3d-viewer
Restructure 3D Viewer
2 parents 9c005f8 + 54044be commit ea57279

File tree

5 files changed

+840
-822
lines changed

5 files changed

+840
-822
lines changed

content/en/docs/partners/siemens/3d-viewer/3d-viewer-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For details, see [3D Viewer API Reference](https://d102io3ppw18a6.cloudfront.net
1818

1919
If you want to get properties of a selected part on the 3D Viewer, perform the following steps:
2020

21-
1. Retrieve selected object information as a string through the [On Selection Change](/partners/siemens/3d-viewer/#on-selection-change) event attribute of the 3D Viewer.
21+
1. Retrieve selected object information as a string through the [On Selection Change](/partners/siemens/3d-viewer/usage/#on-selection-change) event attribute of the 3D Viewer.
2222
2. Use [`mx.viewer3D.getObjects()`](http://3dviewer-apidoc.s3-website.eu-central-1.amazonaws.com/index/v2.1/apidoc/3dviewer.mx.viewer3d.getobjects.html#mx-viewer3d-getobjects-function) to get the object instances.
2323
3. Use [`IPart.getProperties()`](http://3dviewer-apidoc.s3-website.eu-central-1.amazonaws.com/index/v2.1/apidoc/3dviewer.ipart.getproperties.html) to pass the selected object as a parameter. Then you get the properties in key-value pairs. The following is the sample code in a JavaScript action. It takes 2 parameters `selectedObject` and `propertyObject`.
2424

0 commit comments

Comments
 (0)