|
@@ -53,6 +53,9 @@ const successCallback2 = viewMetaData => {
|
|
|
var eventManager = Glodon.Bimface.Application.WebApplication3DEvent
|
|
|
app = new Glodon.Bimface.Application.WebApplicationRfa(config)
|
|
|
viewer3D = app.getViewer()
|
|
|
+
|
|
|
+ window.viewer = viewer3D//add
|
|
|
+
|
|
|
viewer3D.loadModel({ viewMetaData })
|
|
|
viewer3D.addEventListener(Glodon.Bimface.Viewer.Viewer3DEvent.ViewAdded, function () {
|
|
|
//自适应屏幕大小
|