xc278260759
xc278260759
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
python How to open opmenu.parameters ??? Nov. 10, 2018, 7:06 a.m.
# python How to open opmenu.parameters ???
import hou
def selectOpenPar_objViewportisolator1():
iso = hou.node(“obj/viewportisolator1”)
pane_tab = hou.ui.curDesktop().createFloatingPaneTab(hou.paneTabType.Parm)# Parameters and Channels > Parameters… // menu <actionItem id=“opmenu.parameters”> ???
if iso != None:
iso.setCurrent(on=True, clear_all_selected=True)
else:
hou.node(“obj/”).createNode(“viewportisolator”).setCurrent(on=True, clear_all_selected=True)
pane_tab.setCurrentNode(hou.node(“obj/viewportisolator1”))
pane_tab.setPin(True)
return pane_tab
pass
import hou
def selectOpenPar_objViewportisolator1():
iso = hou.node(“obj/viewportisolator1”)
pane_tab = hou.ui.curDesktop().createFloatingPaneTab(hou.paneTabType.Parm)# Parameters and Channels > Parameters… // menu <actionItem id=“opmenu.parameters”> ???
if iso != None:
iso.setCurrent(on=True, clear_all_selected=True)
else:
hou.node(“obj/”).createNode(“viewportisolator”).setCurrent(on=True, clear_all_selected=True)
pane_tab.setCurrentNode(hou.node(“obj/viewportisolator1”))
pane_tab.setPin(True)
return pane_tab
pass