javascript - How to completely hide components without translucency?
阿神
阿神 2017-07-05 10:49:53
0
1
1004

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?

阿神
阿神

闭关修行中......

reply all(1)
小葫芦

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...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!