Jump to content

gemini

Members
  • Content count

    89
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

1 Neutral

About gemini

  • Rank
    Peon
  • Birthday 08/03/1975

Contact Methods

  • Website URL
    https://vimeo.com/user726547

Personal Information

  • Name
    Szabolcs
  • Location
    Budapest

Recent Profile Visitors

1,415 profile views
  1. Force to update Menu Script from Python

    Thanks! Works!
  2. Hi, I have a button strip parm which is dependent on a parameter on the node itself. So when the parameter changes the button strip changes too. How do i force houdini to recook the menu items ? Thanks in Advance ! ! G
  3. Hi ! Can anyone help me how to acces the menu from script (maybe hscript) : scene view / Camera / Restore Previous Camera. Thanks in advance ! G
  4. Hi, Can I register a shortcut, I mean a keyboard event for a specified node in Houdini Python ? Thanks, G
  5. Hi All, Can a node store the sub-component selection of it but the node is not shown at the scene viewer ( but for example selected at the network editor ). And how can I get it ? G
  6. Thanks, but i think it's not what i needed. If I set an python expression on a parameter how can I get the owner parameter ( parameter object, and its name in my case ) , like this hou.pwd() but in my case as a parameter. G
  7. Hi, How can i get the actual parameter name ( or the parameter object ) from a parameter when using python expression on it. I mean something like this: hou.parm('.').name() but not works. In an object hou.pwd() but i need It on a parameter. THX! G
  8. Hi, I need to replace the interface of the houdini rop network with my own panel. I use it for sending renders to farm etc. I use the 'oppresetload' to load my property page to the node itself. The issues come when i want to change a few thing on the interface by a python script ( parameter labels and script callback of buttons -> see script bellow ). The issues are: folder conditional strings are cleared, some parameter type changes ( button strip ). My question is: What is the proper way of replacing a node's interface without Digital Asset ? THX! G Label change: ptg = parm_obj.parmTemplateGroup() parmname = 'active' pt = ptg.find( parmname) if is_sim == '1': rop.parm('issimtoggle').set(1) # pt.setLabel('Active / [ SIM ] / '+self.version) elif is_sim == '0': rop.parm('issimtoggle').set(0) # pt.setLabel('Active / [ RENDER ] / '+self.version) ptg.replace( parmname, pt) parm_obj.setParmTemplateGroup(ptg) button Callback change Script : parm_obj = rop ptg = parm_obj.parmTemplateGroup() pt = ptg.find( parm) pt.setScriptCallback( script) pt.setScriptCallbackLanguage(hou.scriptLanguage.Python) ptg.replace( parm, pt) parm_obj.setParmTemplateGroup(ptg)
  9. ROP Network with Conditional String

    THX , but sadly not. These lines clearing the conditional string: ptg = parm_obj.parmTemplateGroup() parmname = 'active' pt = ptg.find( parmname) ptg.replace( parmname, pt) parm_obj.setParmTemplateGroup(ptg) It seems like a bug. Isn't it ?
  10. Hi, I have a simple problem with this python code ( part of a larger script ). It creates a rop network, opens a stored preset for it. And changes a parameter label. It works. What is wrong that the script clears the conditional string of the rop network. Does anyone has an idea ? Thanks in advance ! G The script : rop = hou.node('/obj').createNode('ropnet') drop_preset_name = 'dROP2' op_path = rop.path() cmd = 'oppresetload %s "%s"' % (op_path, drop_preset_name) hou.hscript(cmd) # set the active toggle label as sim and as render , with version is_sim = rop.userData( 'is_sim') parm_obj = rop ptg = parm_obj.parmTemplateGroup() parmname = 'active' pt = ptg.find( parmname) if is_sim == '1': rop.parm('issimtoggle').set(1) pt.setLabel('Active / [ SIM ] / '+self.version) elif is_sim == '0': rop.parm('issimtoggle').set(0) pt.setLabel('Active / [ RENDER ] / '+self.version) ptg.replace( parmname, pt) parm_obj.setParmTemplateGroup(ptg)
  11. Hi, How can I set conditional string ( hide when ) on folder parameter by python ? Thanks G
  12. Check if Node dragged to Render View

    So there is no way to set the render view to render a specified mantra node by python ? Is it sure ?
  13. Check if Node dragged to Render View

    If not. Can the render view content determined by python script ( which mantra node is shown ) ?
  14. Hi, Can it be available to check a node is dragged to render view and then specify which node is rendered on it ? THX G
×