<div dir="ltr">No examples for browser.importDocument(dom) anywhere ?<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 1:22 PM, Andreas Plesch <span dir="ltr"><<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The SAI defines a browser importDocument service:<br><br><a href="http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#importDocument" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19775-2/V3.3/Part02/servRef.<wbr>html#importDocument</a><br><br></div>and<br><div><br><a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#t-FunctionsBrowserObject" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19777-1/V3.3/Part1/functions.<wbr>html#t-FunctionsBrowserObject</a><br><div><br></div><div>Is there somewhere a code example of how this service is used in detail ?<br><br></div><div>The abstract SAI language reads like this js code pattern should be used:<br><br>...<br></div><div>var newScene = browser.importDocument(dom);<br></div><div>browser.replaceWorld(newScene)<wbr>;<br><br></div><div>The js SAI spec. does not elaborate.<br><br></div><div>cobweb had a slightly different interpretation but now changed to the interpretation above and I would like to confirm that this pattern is the intended use. <br><br></div><div>Thanks, Andreas<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br>-- <br><div class="m_-7432139335431660885gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div></font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br></div>
</div></div></div>