AnsweredAssumed Answered

swRayTraceRenderer.DisplayPreviewWindow not working in C#..??  OK in VB

Question asked by Ron Bates on Nov 14, 2014
Latest reply on Nov 16, 2014 by Ron Bates

In a VB plug-in, this call works fine to invoke the PV preview window:

status = swRayTraceRenderer.DisplayPreviewWindow


In a C# plug-in, the same call does nothing.

status = swRayTraceRenderer.DisplayPreviewWindow();


I appear to have a good/valid swRayTraceRenderer object.  Initialized like so:

swRayTraceRenderer = (RayTraceRenderer)iSwApp.GetRayTraceRenderer((int)swRayTraceRenderType_e.swPhotoView);


PV is added in and can be invoked manually.


I'm stumped.  Why would it work in VB and fail in C#???