Using new useOPFS=true in Forge

33 views Asked by At

Viewer version 7.96.0 states that

New and improved geometry cache that can be enabled using the URL parameter useOPFS=true

can this option be passed also as part of the initilisation options for the viewer or only as URL parameter?

1

There are 1 answers

4
Petr Broz On BEST ANSWER

You can specify it as a global variable (USE_OPFS=true) before initializing the viewer to get the same effect as the query parameter.