Jump to content

Morrorz

Members
  • Content count

    6
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Morrorz

  • Rank
    Peon

Personal Information

  • Name
    Thitikron
  • Location
    Thailand
  1. How to move parameter to root Python !!

    thanks very much #Martin Brattensborg I want try move Translate,Rotate,Scale etc in Tranform Folder to Root sir. Now i still can't do it.
  2. Thank you sir. Martin Brattensborg.Peon I just wonder parameter Can i change colour in python ? I seen this link : https://www.sidefx.com/forum/topic/50408/?page=1#post-227213 He can change colour input node.I wanna try change parameter colour but them can't ahahaha.
  3. I look at here. I want do color parameter How to do this sir Thanks https://www.sidefx.com/forum/topic/50408/?page=1#post-227213 How to do it ???? Create Color this text vvvvvvvvvvvv vvvvvvvv vvvvvv vv v
  4. import hou #CreateNode root = "/obj" node = hou.node(root).createNode("geo" , "test") #ParmGRP parm_group = node.parmTemplateGroup() parm = hou.IntParmTemplate("testParm", "TestParameter" , 1) #ParmAppend parm_group.append(parm) node.setParmTemplateGroup(parm_group) #Move To Tranform Folder() parm_group.remove("testParm") parm_group.appendToFolder(parm_group.findIndicesForFolder("Transform"),node.parm("testParm").parmTemplate()) node.setParmTemplateGroup(parm_group) #################### MOVE TO ROOT ####################### #################### ERROR ####################### parm_group = parm_group parm_group.remove("testParm") #parm_group.appendToFolder(parm_group.findIndicesForFolder("Misc"),node.parm("testParm").parmTemplate()) parm_group.appendToFolder(parm_group.findIndicesForFolder("root"),node.parm("testParm").parmTemplate()) node.setParmTemplateGroup(parm_group)
  5. Can i addSection("PythonModule") sop null How i create "PythonModule" in sop null or sop geo with python georoot = "/obj" geo = hou.node(georoot).createNode("null" , "test") pm_section =geo.type().definition().addSection("PythonModule") pm_section.setContents("your_python_module_contents") But : hda worked myref : https://www.sidefx.com/forum/topic/61047/
×