# 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
python How to open opmenu.parameters ???
1341 0 0- xc278260759
- Member
- 1 posts
- Joined: Oct. 2011
- Offline
-
- Quick Links