Question regarding _setBranchVisibility in the library

I am using 2024.3 and 2026,1 libraries. When I click the isolate item in the context menu by using hoops_web_viewer.js from quick sample in 2024.3, the assert does not trigger. However, when I click the isolate item in the context menu by using hoops-web-viewer.iife.js in 2024.3 and 2026.1, the assert is triggered. Even thought the assert is triggered, the behavior works as expected (the parts are being isolated).

This is from hoops-web-viewer.iife.js 2026.1

This is from hoops_web_viewer.js 2024.3

May I know if there is difference by using iife format.

Thank you.

Hello @nick.wong,

There is an already reported issue (currently making its way to the bug-fixing process) regarding the assert being triggered in v2025. That said, the isolate function should still work.

Thanks,
Tino