ninhenzo64 Posted April 23, 2020 Share Posted April 23, 2020 Hi people, I had some code which I was running to find the rendered image in the "Render View" pane and save it to file. _desktop = hou.ui.curDesktop() _ipr = _desktop.paneTabOfType(hou.paneTabType.IPRViewer) _ipr.saveFrame(_file) This was running fine in Houdini 17. However, since updating to Houdini 18 (I'm using 18.0.440), the desktop object seems like it can't find the IPR pane, the paneTabOfType method is returning None. Anyone have any ideas what I can do to get this working? Thanks, Henry Quote Link to comment Share on other sites More sharing options...
RustyMac2020 Posted April 24, 2020 Share Posted April 24, 2020 22 hours ago, ninhenzo64 said: Hi people, I had some code which I was running to find the rendered image in the "Render View" pane and save it to file. _desktop = hou.ui.curDesktop() _ipr = _desktop.paneTabOfType(hou.paneTabType.IPRViewer) _ipr.saveFrame(_file) This was running fine in Houdini 17. However, since updating to Houdini 18 (I'm using 18.0.440), the desktop object seems like it can't find the IPR pane, the paneTabOfType method is returning None. Anyone have any ideas what I can do to get this working? Thanks, Henry Your IPR being your output mantra_IPR? unless you are using another render engine? Quote Link to comment Share on other sites More sharing options...
ninhenzo64 Posted April 24, 2020 Author Share Posted April 24, 2020 yes, i'm using mantra renderer in the "Render View" tab - it's one of the default tabs when you launch a vanilla houdini Quote Link to comment Share on other sites More sharing options...
Marink Posted June 7, 2021 Share Posted June 7, 2021 For those coming back to this, it looks like that way is deprecated. But you can do something similar like this _desktops = hou.ui.currentPaneTabs() _ipr = [x for x in _desktops if x.type()==hou.paneTabType.IPRViewer][0] _ipr.saveFrame() Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.