Jump to content

Python-node problem interacting with Copy-node


Yalf

Recommended Posts

Hello,
I have a problem with my python-nodes in my network when they interact with a node above them.
In this particular case I try to decide the parameters of which I want to generate a number and it works in the copy-node, but when I get to the python-node it will do it again, but sometimes it doesn't follow the rules.
In houdiniConsole.PNG we can see that the minNr for the randomNumber is 3 but the python-node makes 2 copies (resultFromPythonNode.PNG) while the copy-node works (resultFromCopyNode.PNG).

Another weird thing is that if I interact with the copy-node, like change the "total number of copies" to the exact same value it already is, the python-node will not change it and it will work as it should.

I think skipping the python node would solve the problem, but I need the python node to change the copy node. How is the best way to solve this?

code.PNG

houdiniConsole.PNGresultFromCopyNode.PNGresultFromPythonNode.PNG

Edited by Yalf
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...