<div dir="ltr">Thanks everyone for helping getting replaceWorld() working.  Apparently it had something to do with script order? or perhaps clearing the exports object?  I copied from a working example, and the buggy example worked!.<div><br></div><div><a href="https://coderextreme.net/X3DJSONLD/src/main/html/index.html">https://coderextreme.net/X3DJSONLD/src/main/html/index.html</a>  <br></div></div>