Now there will be a translucent effect in the Viewer to represent a hidden component. Is there a way to make the component completely hidden without the translucent effect?
高洛峰2017-07-05 10:51:53
Hello, to completely hide a component, you can use the visibilityManager.setNodeOff
function to complete it. The following is a simple example:
// 完全隐蔽构件
viewer.hide( dbId );
viewer.impl.visibilityManager.setNodeOff( dbId, true );
// 取消完全隐蔽构件
viewer.show( dbId );
viewer.impl.visibilityManager.setNodeOff( dbId, false );
This is a screenshot of the completely hidden component effect:
More information can be found here https://forge.autodesk.com/bl...