BIM管理

dev_xd
haha 2025-07-25 23:15:31 +08:00
parent 1873d9fe7d
commit 55c5ed4cbc
1 changed files with 4 additions and 7 deletions

View File

@ -980,12 +980,9 @@ export default {
} }
setTimeout(() => { setTimeout(() => {
api.Model.location(modelId); api.Model.location(modelId);
this.resetScene();
if (x * 1 + y * 1 + z * 1 != 0) {
setTimeout(() => { setTimeout(() => {
api.Camera.lookAt({ position: [x, y, z], distance: 20000, heading: 90, pitch: -45 }) this.resetScene();
}, 1000); }, 1000);
}
}, 1000); }, 1000);
} }
this.initHideParts() this.initHideParts()
@ -996,7 +993,7 @@ export default {
let hideCnt = 0; let hideCnt = 0;
let hideFn = () => { let hideFn = () => {
hideCnt++; hideCnt++;
if (hideCnt > 20) { if (hideCnt > 30) {
return; return;
} }
setTimeout(() => { setTimeout(() => {