Search the Community
Showing results for tags 'link'.
Found 4 results
is there a way that i can link a ramp to another? like right click copy parameter->paste relative reference i am doing ramp_parm_1.set(ramp_parm_2) in python, with python it only link the amount of ponits, but doesnt link the value or position of each point =( is there a special way to link ramps? thanks. link_ramps_python.hipnc
when I link some parameters some of the main node get crazy wire messing up the node. example Node A has some parameters link between them. example nodeA.parm("bla") and nodeA.parm("ble") is set as reference link to nodeA.parm("bla") nothing crazy one parameter looking at another one in the same node. now I want to create a new node and link all the parameters to this new node I want nodeB parameters to look at nodeA, after running the code witch is a regular stuff just setting parameters, some of the paramters in nodeA that were just a integer now have an expression poiting to another parameter =( should I create something like if its an expression use "setExpression" if is not an expression use the regular set? def linkParmsTo(source_node, target_node): """ Link the parms of the source node to those of the target node if a parameter with the same name exists. # Produced by: # Graham Thompson # firstname.lastname@example.org # www.captainhammy.com """ for parm_to_link in source_node.parms(): # Skip folder parms. if isinstance(parm_to_link.parmTemplate(), hou.FolderSetParmTemplate): continue parm_to_link_to = target_node.parm(parm_to_link.name()) # If the target parm exists if parm_to_link_to is not None: parm_to_link.set(parm_to_link_to)
Hi, I'm wondering if there's a way to use a image created in COP, somewhere else in H, without saving it to an image file? let's say I want to create a noise image in COP, and use that as the camera background, how would I make that link ?