Jump to content
Sign in to follow this  
highdensity

changing a parameter on everynode in my scene

Recommended Posts

highdensity    0

is there a way to change a parameter on every node of the same type in my scene at once ? i need to change a setting on alot of nodes.

02.PNG

01.PNG

Share this post


Link to post
Share on other sites
Sepu    69

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

Share this post


Link to post
Share on other sites
highdensity    0
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

Share this post


Link to post
Share on other sites
merlino    8

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

 

Share this post


Link to post
Share on other sites
highdensity    0
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:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×