Jump to content

Search the Community

Showing results for tags 'parms'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 2 results

  1. connecting parameters in python

    Hello, I've been having trouble trying to replicate the "copy parameter/paste relative references" process of referencing parameters from one node to another in python. I understand you can write an expression in the parameter like: evalParm('../box1/tx') but I'd like to be able to do this in the python source editor. This chunk of code copies the translate x from box1 and pastes the value into sphere1's tx, however it doesn't connect the two like the expression above does. boxy = hou.node('/obj/testGeo/box1') ball = hou.node('/obj/testGeo/sphere1') ball.setParms({'tx':boxy.evalParm('tx'), 'ty':0.55}) Essentially I want the parameters to be linked so that if I change box1 tx, sphere1 tx is also changed. Any ideas on what I'm missing to make that connection permanent?
  2. Hello, I want to create button to set all my parameters to some value [for example 1]. I did something like this: x = hou.node('/obj/geo') x.parmTuple(str(p.name() for p in x.parmTuples()).set(1,1,1) [/CODE] AttributeError: 'NoneType' object has no attribute 'set' I suppose it is ultra simple [to set value for all parms] but I can't figue out how to deal with it.
×