Jump to content

Yalf

Members
  • Content count

    6
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Yalf

  • Rank
    Peon

Personal Information

  • Name
    Yalf
  1. If-Node in node network

    Nevermind about this! I had some weird otls in my houdini map that messed with the python node, that part works now, thanks!
  2. If-Node in node network

    I'm not sure I understand the example. How can the python node influence the switch node above it? And is the python node supposed to send an int to the switch node? If so, how do I send a variable from the python node to the switch node? This part is a bit blurry too. what is "set dressing to disk" and do you mean I just load another scene with object with the loading path? How is tat achived?
  3. If-Node in node network

    Hello, I was wondering if there is a way to to randomize which way Houdini "walks" in a node network? In the attached picture you can see what I try to accomplish. The python node code: import random randomNr = random.randint(0, 1) print randomNr I want to use this random number to either go to the antenna node and create an antenna for the house OR go to the satellite node and create a satellite on the house. Is this possible in Houdini? Thanks in advance for the help!
  4. Changing parameters from a python script

    Oh right, that sounds great! Thanks so much for all the help!
  5. Changing parameters from a python script

    Thank you, this works great! If I could just bother you with one more question that would be even better! How do I re-initialize a python node? If I want this random number to change every time I click the python node? If I change something in the script it will re-initialize, but that is a bit tedious. Is there a better way?
  6. Hello, I am new to Houdini. I am creating a building generation tool. I want to randomize parameters of my "controller", which is just a null node with parameters, that control the buildings length, height, number of windows etc. I want to randomize these parameters with a python script last of all nodes in the network. This is how I try to do it, but it doesn't work and I don't understand the error. nrOfWindows = `chs("../controller/nrOfVertWin")` print nrOfWindows nrOfWindows = nrOfWindows + 1 print nrOfWindows `chs("../controller/nrOfVertWin")` = nrOfWindows Any help is appreciated, thanks!
×