[Paraview] Paraview Web inside web app - pv is not defined

Daniel Zuidinga info at seoaachen.de
Mon Aug 29 04:19:54 EDT 2016


Hi,

I try to get pv web visualizer to work inside an angular2 component.

The window opens on server and connection object seems right. But I get 
pv is not defined when try to call

Snippet

pv.initializeVisualizer(...)

. Any ideas why this could be?


ReferenceError: pv is not defined
     at start 
(http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18)
     at q.connectionInfo.connection.onopen 
(http://localhost:24264/lib/core/vtkweb-all.min.js:30:556)
     at w.b._session.onjoin 
(http://localhost:24264/ext/core/autobahn.min.js:29:210)
     at Object.f._socket.onmessage 
(http://localhost:24264/ext/core/autobahn.min.js:95:330)
     at WebSocket.window.b.onmessage 
(http://localhost:24264/ext/core/autobahn.min.js:114:422)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160829/33286284/attachment.html>


More information about the ParaView mailing list