Skip to content

Instantly share code, notes, and snippets.

@bdancer
Created November 7, 2019 15:53
Show Gist options
  • Save bdancer/0d956ea53de2293e72fce90aea359391 to your computer and use it in GitHub Desktop.
Save bdancer/0d956ea53de2293e72fce90aea359391 to your computer and use it in GitHub Desktop.
import hou
for pane in hou.ui.panes():
for tab in pane.tabs():
if isinstance(tab, hou.IPRViewer):
vrayRop = tab.ropNode().parm('rop').evalAsNode()
hou.hscript("oppane -t parmeditor %s" % (vrayRop.path()))
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment