1 Reply Latest reply on Mar 2, 2015 9:50 PM by Ron Bates

    Display integrated preivew

    Ron Bates

      I can call IRayTraceRenderer::DisplayPreviewWindow to display the PV preview window.

       

      But I see no equivalent to invoke PV integrated preview.  Is there any known workaround besides trudging through Win API's to simulate clicks on various "windows" (command manager tabs, menus and buttons)

       

      Ron

        • Re: Display integrated preivew
          Ron Bates

          A few weeks ago I finally stumbled upon RunCommand API, which essentially allows you to invoke any command in the system.

           

          ie, I can now invoke integrated preview as follows:

           

          bool bResult = SwApp.RunCommand((int)swCommands_e.swCommands_Invoke_Integrated_PhotoviewRender, "");