鍍金池/ 問答/網(wǎng)絡(luò)安全  HTML/ 調(diào)用isolateComponentsById異常

調(diào)用isolateComponentsById異常

我在調(diào)用隔離構(gòu)件API: "isolateComponentsById" 的時候提示"Uncaught ReferenceError: filters is not defined"異常,代碼如下:

gViewer.isolateComponentsById(["1002241648337088.420691"], Glodon.Bimface.Viewer.IsolateOption.HideOthers);

傳入的objectId是通過選擇事件獲取的,并且調(diào)用隱藏構(gòu)件API是可以的:

gViewer.hideComponents(["1002241648337088.420691"]);

請問一下,是我調(diào)用方法不對,還是什么別的問題,多謝!

回答
編輯回答
裸橙

更新模型之后問題解決了。

2018年5月19日 17:52