I am trying to export a scene where the renderer contains an assembly. This assembly contains multiple assemblies and actors. I am trying to export this with<div><br></div><div><div>var exporter = vtkX3DExporter.New();</div>
<div>exporter.SetInput(window);</div><div>exporter.SetFileName(&quot;f:\\tuba\\testX3DExporter.x3d&quot;);</div><div>exporter.Update();</div><div>exporter.Write();</div></div><div><div><br></div><div>But all I get is an error window saying</div>
<div><br></div><div>ERROR: In ..\..\..\..\vtksource-prefix\src\vtksource\Hybrid\vtkX3DExporter.cxx, line 132</div><div>vtkX3DExporter (0D1341A0): no actors found for writing X3D file.</div><div><br></div><div><br></div><div>
The same happens with vtkVrmlExporter.</div><div><br></div><div><br></div><div>Does these exporters not work with assemblies?</div><div><br></div><div>As a sidenote, renderer.GetActors() returns an empty collection for some reason.</div>
<div><br></div><div><br></div>
</div>