<div dir="ltr">This line from my serialized code does the trick.  Let's revisit how to do this in X3dToNodeJS.xslt on Monday.<div><br></div><div>        .addLayerSet((new autoclass.LayerSet()).setDEF("scene.addChildLayerSetTest"))<br></div><div><br></div><div>Will now check in my "repairs."<br></div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 29, 2020 at 12:22 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">java -cp ../jars/X3DJSAIL.4.0.full.jar org.web3d.x3d.jsail.CommandLine examples/HelloWorldProgramOutput.x3d -tojs -toFile examples/HelloWorldProgramOutput.Node.js<br>parameter: source file HelloWorldProgramOutput.x3d filesize 22317 bytes<br>CommandLine parameter: "-tojs" for conversion to X3DJSONLD JavaScript source<br>CommandLine parameter: "-toFile" "examples/HelloWorldProgramOutput.Node.js" for result file name root examples/HelloWorldProgramOutput.Node<br>Parsing using Document Object Model (DOM) based X3DLoaderDOM...<br>[X3DLoaderDOM] <meta name='info' content='continued development and testing in progress'/><br>convert to JS JavaScript:<br>Warning: toFileStylesheetConversion(X3dToNodeJS.xslt) is overwriting prior file examples/HelloWorldProgramOutput.Node.js<br>className='HelloWorldProgramOutput.Node' has illegal character(s) ( -.,;) replaced with '_' underscore character. newClassName='HelloWorldProgramOutput_Node'<br>file conversion successful: HelloWorldProgramOutput.Node.js (37121 bytes)<br><br>coderextreme@DESKTOP-DOPK2VD MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/node" target="_blank">www.web3d.org/x3d/stylesheets/java/node</a><br>$ node examples/HelloWorldProgramOutput.Node.js<br>C:\x3d-code\<a href="http://www.web3d.org" target="_blank">www.web3d.org</a>\x3d\stylesheets\java\node\examples\HelloWorldProgramOu<br>tput.Node.js:176<br>    .addChild((new autoclass.LayerSet("scene.addChildLayerSetTest")))<br>     ^<br><br>Error: Could not find method "addChild(org.web3d.x3d.jsail.Layering.LayerSetObje<br>ct)" on class "class org.web3d.x3d.jsail.Core.SceneObject". Possible matches:<br>  public org.web3d.x3d.jsail.Core.SceneObject org.web3d.x3d.jsail.Core.SceneObje<br>ct.addChild(org.web3d.x3d.sai.Core.X3DChildNode)<br><br>    at HelloWorldProgramOutput_Node.initialize (C:\x3d-code\<a href="http://www.web3d.org" target="_blank">www.web3d.org</a>\x3d\st<br>ylesheets\java\node\examples\HelloWorldProgramOutput.Node.js:176:6)<br>    at new HelloWorldProgramOutput_Node (C:\x3d-code\<a href="http://www.web3d.org" target="_blank">www.web3d.org</a>\x3d\styleshee<br>ts\java\node\examples\HelloWorldProgramOutput.Node.js:123:10)<br>    at Object.<anonymous> (C:\x3d-code\<a href="http://www.web3d.org" target="_blank">www.web3d.org</a>\x3d\stylesheets\java\node\e<br>xamples\HelloWorldProgramOutput.Node.js:484:1)<br>?[90m    at Module._compile (internal/modules/cjs/loader.js:1176:30)?[39m<br>?[90m    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:1<br>0)?[39m<br>?[90m    at Module.load (internal/modules/cjs/loader.js:1040:32)?[39m<br>?[90m    at Function.Module._load (internal/modules/cjs/loader.js:929:14)?[39m<br>?[90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_ma<br>in.js:71:12)?[39m<br>?[90m    at internal/main/run_main_module.js:17:47?[39m<br></div>
</blockquote></div>