[Paraview-developers] Trouble with 'Session'

Biddiscombe, John A. biddisco at cscs.ch
Thu Mar 22 07:08:08 EDT 2012


In my plugin, I need to access the
vtkSMProxyDefinitionManager* pxdm =
  serverSession->GetSessionProxyManager()->GetProxyDefinitionManager();

but the session is always NULL on the server side.

Trying this
vtkSMSession* serverSession =
  vtkSMSession::SafeDownCast(pm->GetSession());

gives null.

What do I need to do to ensure the "session" is correctly initialized. Or is there a way to access the proxy definition manager without it. I am registering custom proxies, so I need the manager.

Thanks

JB



--
John Biddiscombe,                        email:biddisco @.at.@ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 610.82.82


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20120322/e6f58065/attachment.htm>


More information about the Paraview-developers mailing list