Jump to content

changing a parameter on everynode in my scene


highdensity

Recommended Posts

just selected all of the node that are the same and change whatever you have to... it should work. 

If they are in different levels, look at the "opchange" help on the Textport 

Edited by Sepu
Link to comment
Share on other sites

14 minutes ago, Sepu said:

just selected all of the node that are the same and change whatever you have to... it should work. 

If they are in different levels, look at the "opchange" help on the Textport 

sorry i forgot to specify, they are not at the same level. i will look into that, thx !

Edited by highdensity
typo
Link to comment
Share on other sites

Surely with a python script that can look something like this:

for object in hou.node("/obj").children():
  if object.type().name() == "the type you're searching for":
    for node in object.children():
      if ... //some other condition, if any
      
      node.set... //and here you set the parameter you want the value you want

 

Link to comment
Share on other sites

2 hours ago, merlino said:

Surely with a python script that can look something like this:


for object in hou.node("/obj").children():
  if object.type().name() == "the type you're searching for":
    for node in object.children():
      if ... //some other condition, if any
      
      node.set... //and here you set the parameter you want the value you want

 

i dont know much about programming i have a hard time figuring out what i have to write at the last line. i want to change the load as setting to load houdini geometry. if i hover on load as the name show up as loadmode. i tried stuff like node.setloadmode(loadhoudinigeometry): but its not working.. :unsure:

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...