-
-
Save bdancer/0d956ea53de2293e72fce90aea359391 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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