Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Searching 1355 files for ".type().name() =="
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\assetauthortools.py:
- 138 for n in material_node_list:
- 139 print n
- 140: if ((n.type().name() == "vopmaterial") and (len(n.parm("baseColorMap").eval())>0) ):
- 141 basecolormap = n.parm("baseColorMap")
- 142 if ( len(basecolormap.keyframes())>0 ): # keyframed chs reference
- ...
- 220 return
- 221 for shader in material_node_list:
- 222: if (shader.type().name() == "vopmaterial"):
- 223 parentAsset = findParentAsset(node, shader)
- 224 if (parentAsset is not None):
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorig\isbodypart.py:
- 303
- 304 joints = [child for child in node.children()
- 305: if child.type().name() == 'null'
- 306 and child.name().startswith('joint')]
- 307
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorig\rigtoolutils.py:
- 34 # If the output is a null and this isn't the last output,
- 35 # continue
- 36: elif output.type().name() == 'null' \
- 37 and counter is not len(node.outputs()):
- 38 continue
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorigs\asset\geometry\autoRigsCaptureBuilder.py:
- 15 if node is None:
- 16 return (parent.createNode(node_type, node_name), True)
- 17: elif node.type().name() == node_type:
- 18 return (node, False)
- 19 else:
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorigs\ui\uiAssetContainer.py:
- 54
- 55 for child in nodechildren:
- 56: if child.type().name() == assettype and \
- 57 child != assetnode:
- 58 return True
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorigs\ui\uiNewAutorigDialog.py:
- 145
- 146 for child in nodechildren:
- 147: if child.type().name() == assettype:
- 148 return True
- 149
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorigs\utils\rigtoolutils\fkcontrols.py:
- 46 fkcontrol.setFirstInput(boneinputs[0])
- 47
- 48: if boneinputs[0].type().name() == 'bone':
- 49 fkinit = netparent.createNode('null', naming.createName(prefix, 'fkinitcontrol'))
- 50 fkinit.setFirstInput(bone)
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorigs\utils\rigtoolutils\iktwistuserinput.py:
- 55
- 56 def isOneBoneInput(inputlist):
- 57: return len(inputlist) == 1 and inputlist[0].type().name() == 'bone'
- 58
- 59 def isStartEndBoneInput(inputlist):
- 60 return len(inputlist) == 2 and \
- 61: inputlist[0].type().name() == 'bone' and \
- 62: inputlist[1].type().name() == 'bone'
- 63
- 64 def _checkUserInputListError(inputlist):
- ..
- 79 # First bone must not be parented to another bone
- 80 start_inputs = inputlist[0].inputs()
- 81: if start_inputs != () and start_inputs[0].type().name() == 'bone':
- 82 raise hou.Error("Parent of start bone is a bone. Please select a start bone that does not have a bone parent or does not have a parent")
- 83
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\autorigs\utils\rigutils.py:
- 205 count = 0
- 206 while True:
- 207: if curbone.type().name() == 'bone':
- 208 totallength += curbone.evalParm('length')
- 209 count += 1
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\charactertoolutils.py:
- 133 node = viewport.queryNodeAtPixel(int(x),int(y))
- 134 if node != None:
- 135: if node.type().category() == hou.objNodeTypeCategory() and node.type().name() == 'geo':
- 136 display = node.displayNode()
- 137 if display != None and display.type().category() == hou.sopNodeTypeCategory():
- ...
- 139 xform = node.worldTransform()
- 140
- 141: if node.type().category() == hou.sopNodeTypeCategory() and node.parent() != None and node.parent().type().name() == 'geo':
- 142 geo = node.geometry()
- 143 xform = node.parent().worldTransform()
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\choptoolutils.py:
- 21 p = n.parent();
- 22 if p:
- 23: if p.type().name() == "chopnet":
- 24 rate = p.parm('chopnet_rate')
- 25 if rate:
- ..
- 33 """
- 34 if n:
- 35: if n.type().name() == "chopnet":
- 36 rate = n.parm('chopnet_rate')
- 37 if rate:
- ..
- 493 isolate = scopeTracks(chop, tracks, True, name_prefix)
- 494 # create an export chop for it if needed
- 495: if isolate.type().name() == 'export' \
- 496 and isolate.creatorState() == 'disable':
- 497 export = isolate
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\crowdstoolutils.py:
- 21 crowdsource_object = None
- 22 for n in root.allSubChildren():
- 23: if n.type().name() == "crowdsource::3.0" and n.type().category().name() == "Sop":
- 24 crowdsource_object = n.parent()
- 25 merge_sop = hou.node(crowdsource_object.path() + "/merge_crowdsources")
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\dopparticlefluidtoolutils.py:
- 887
- 888 slicenode = dopnet.createNode(slicetype)
- 889: if parentnode.type().name() == 'sliceplane':
- 890 parentnode.setNextInput(slicenode)
- 891 # We do not want to put these inside the Slice directory,
- ...
- 993
- 994 isflip = False
- 995: if solvernode.type().name() == 'flipsolver::2.0':
- 996 # We do not need particle ids as we can
- 997 # match without them.
- ...
- 1110 # Now our particle fluid surfacer.
- 1111 # This only makes sense in the case of using a particlefluidnode
- 1112: if fluidnode.type().name() == 'particlefluidobject':
- 1113 surface = distobject.createNode("particlefluidsurface")
- 1114 movenodes.append(surface)
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\doppyrotoolutils.py:
- 63 oldgroup = gravitynode.parm('group').evalAsString()
- 64 namepath = fluidnode.path()
- 65: if fluidnode.type().name() == 'group':
- 66 namepath = namepath + '/groupname0'
- 67 else:
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\doprbdtoolutils.py:
- 236 # Also ensure the node isn't inside a locked asset.
- 237 for dop in dopnet.findNodesThatProcessedObject(dopobject):
- 238: if dop.type().name() == "rbdkeyactive":
- 239 # We can't change nodes in locked HDAs, so they are no good.
- 240 if not dop.isInsideLockedHDA():
- ...
- 401 # For a packed object, don't add any DOP import nodes since we will be
- 402 # adding fragments to the existing object.
- 403: if rbdnode.type().name() == "rbdpackedobject":
- 404 return configurenode
- 405
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\dopsmoketoolutils.py:
- 144 return fluidnode
- 145
- 146: if potentialgroup.inputs()[0].type().name() == 'switch':
- 147 return potentialgroup
- 148
- ...
- 161 if obj.childTypeCategory() == hou.sopNodeTypeCategory():
- 162 for sop in obj.children():
- 163: if sop.type().name() == 'dopio':
- 164 dopiolist.append(sop)
- 165
- ...
- 203 and chs() for group nodes.
- 204 """
- 205: if node.type().name() == 'group':
- 206 expr = 'chs("'+node.path()+'/groupname0")'
- 207 else:
- ...
- 3251 import_node = distribute_node.renderNode()
- 3252 for child in distribute_node.children():
- 3253: if child.type().name() == 'dopio':
- 3254 import_node = child
- 3255
- ....
- 3422 slicesource = distobject.renderNode()
- 3423 for child in distobject.children():
- 3424: if child.type().name() == 'dopio':
- 3425 slicesource = child
- 3426
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\doptoolutils.py:
- 522 outputnode = None
- 523 if displaydop is not None:
- 524: if displaydop.type().name() == "output":
- 525 outputnode = displaydop
- 526
- ...
- 794 for child in objectnode.children():
- 795 if isinstance(child, hou.SopNode):
- 796: if child.type().name() == "dopimport":
- 797 changes.append((child, True, "", ""))
- 798 if len(child.inputs()) > 0:
- ...
- 809 # you write your own custom fracture tool that
- 810 # should work with removing objects.
- 811: if input.type().name() == 'finalizebreaks' and \
- 812 input.creatorState() != "":
- 813 changes.append((input, True, "", ""))
- ...
- 1028 solvernode.setInput(inputnum, merge)
- 1029 merge.moveToGoodPosition(False)
- 1030: elif thirdnode.type().name() == "merge":
- 1031 merge = thirdnode
- 1032 else:
- ....
- 1146
- 1147 # If the display dop is the Output DOP, we want its parent!
- 1148: if outputdop.type().name() == "output":
- 1149 if len(outputdop.inputs()):
- 1150 inputdop = outputdop.inputs()[0]
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\dopwiretoolutils.py:
- 135 for dopnode in dopnodes:
- 136 # This operation should only be done on wire objects
- 137: if dopnode.type().name() == 'wireobject':
- 138 # Find the SOP geometry used by the wire object.
- 139 oldsoppath = dopnode.parm('soppath').eval()
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\dragdroputils.py:
- 38 input_node = target_node
- 39
- 40: if input_node.type().name() == node_type_name and \
- 41 (test_func is None or test_func(input_node)):
- 42 node = input_node
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\hqueue\houdini.py:
- 136 # enabling checkpointing could add spare parameters to the ROP node which
- 137 # changes the parameter interface.
- 138: if rop.type().name() == "ifd":
- 139 _enableMantraCheckpoints(rop, enable_checkpoints)
- 140
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\muscletoolutils.py:
- 17 if len(selection) > 0:
- 18 for sel in selection:
- 19: if sel.type().name() == 'riggedmuscle':
- 20 setCapturePose(sel)
- 21: if sel.type().name() == 'musclerig':
- 22 setCapturePose(sel)
- 23: elif sel.type().name() == 'musclepin':
- 24 setPinCapturePose(sel)
- 25 else:
- ..
- 240 for type in types:
- 241 for node in selection:
- 242: if node.type().name() == type:
- 243 return 1
- 244 return 0
- ...
- 1054 ("capture_handle4", "capture_pos4"),
- 1055 ("capture_handle5", "capture_pos5"), )
- 1056: if obj.type().name() == 'musclepin':
- 1057 mirror_parms = ( ("handle1", "pos1"),
- 1058 ("capture_handle1", "capture_pos1"), )
- ....
- 1264 node = pathparm.node()
- 1265
- 1266: if node.type().name() == 'frankenmuscle':
- 1267 sop_selection = []
- 1268 group_selection = []
- ....
- 1293 my_muscle_types = ("riggedmuscle", "musclerig", "musclepin", )
- 1294
- 1295: if node.type().name() == 'frankenmuscle':
- 1296 #select existing sources if any
- 1297 hou.clearAllSelected()
- ....
- 1301 n = hou.node( node.parm("musclerigpath" + str(i+1)).evalAsString() )
- 1302 n.setDisplayFlag(1)
- 1303: if n.type().name() == 'riggedmuscle':
- 1304 n.parm("displaymuscle").set(1)
- 1305 n.setCurrent(1)
- ....
- 1322
- 1323 for sel in selection:
- 1324: if sel.type().name() == "riggedmuscle":
- 1325 sel.parm("displaymuscle").set(0)
- 1326 sel.parm("displayhandles").set(1)
- ....
- 1356 def displayFrankenCapturePose(node):
- 1357 """ rifle through the rig sources in the frankenmuscle and set the Display Capture Pose flag accordingly """
- 1358: if node.type().name() == 'frankenmuscle':
- 1359 d = node.parm("displaycapturepose").eval()
- 1360 count = node.parm("numrigs").eval()
- ....
- 1366 def displayFrankenRigs(node):
- 1367 """ rifle through the rig sources in the frankenmuscle and set the Display Capture Pose flag accordingly """
- 1368: if node.type().name() == 'frankenmuscle':
- 1369 d = node.parm("displayrigsources").eval()
- 1370 count = node.parm("numrigs").eval()
- ....
- 1474 muscle_obj.parmTuple("sphereradius").set( (stroke_radius, stroke_radius, stroke_radius) )
- 1475
- 1476: if muscle_obj.type().name() == 'musclerig':
- 1477 muscle_obj.parm("capturecoreradius").set( 1 )
- 1478
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\objecttoolutils.py:
- 918
- 919 # Find a child that is a Constraint_Object with the right Target
- 920: if chop.type().name() == "chopnet":
- 921 chop_parent = chop
- 922 else:
- ...
- 972
- 973 current_node = chop_parent.node('./__audio_chop__')
- 974: if current_node and current_node.type().name() == 'constraintparent':
- 975 parent_input = current_node.inputs()[2]
- 976 if parent_input:
- 977 n = parent_input
- 978
- 979: elif current_node and current_node.type().name() == 'constraintparentx':
- 980 n = current_node
- 981 n.__outputidx__ = 1
- ...
- 1269 for i in range(len(chops)):
- 1270 chop = chops[i]
- 1271: if chop.type().name() == "chopnet":
- 1272 chop = chop.node('./__audio_chop__')
- 1273 chops_ori[i] = chop
- ....
- 1339 def constraintparentblendLayout( chop, parent, blend, blend_target, targets ):
- 1340
- 1341: if chop.type().name() == "chopnet":
- 1342 chop = chop.node('./__audio_chop__')
- 1343
- ....
- 2099
- 2100 for i in range(len(ret)):
- 2101: if ret[i].type().name() == "chopnet":
- 2102 ret[i].node("./__audio_chop__").setSelected( on=True, clear_all_selected=(i==0), show_asset_if_selected=False )
- 2103 else:
- ....
- 2268
- 2269 if node != None:
- 2270: if node.type().category() == hou.objNodeTypeCategory() and node.type().name() == 'geo':
- 2271 display = node.displayNode()
- 2272 if display != None and display.type().category() == hou.sopNodeTypeCategory():
- ....
- 2274 xform = node.worldTransform()
- 2275
- 2276: if node.type().category() == hou.sopNodeTypeCategory() and node.parent() != None and node.parent().type().name() == 'geo':
- 2277 geo = node.geometry()
- 2278 xform = node.parent().worldTransform()
- ....
- 2390 for chop in ret:
- 2391 # if the return objects are chopnets, then they must be the constraint networks
- 2392: if chop.type().name() == "chopnet":
- 2393 chop_net = chop
- 2394 # else, the return objects are nodes within the constraint chopnet, so grab its parent
- ....
- 2399 multiply = createChopWithRate(chop_net, 'multiply', 'multiply')
- 2400 gamepad = createChopWithRate(chop_net, 'gamepad', 'gamepad')
- 2401: if chop.type().name() == 'constraintgetworldspace':
- 2402 world = chop
- 2403 else:
- ....
- 2419 try:
- 2420 # modify geometry file if constraint is used on camera object
- 2421: if chop_net.parent().type().name() == 'cam':
- 2422 for node in chop_net.parent().children():
- 2423: if node.type().name() == 'file':
- 2424 node.parm('file').set('gamepadcam.bgeo')
- 2425 except:
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\parmutils.py:
- 727 is_sop_xform = (
- 728 node.type().category().name() == "Sop"
- 729: and node.type().name() == "xform")
- 730
- 731 # Get hscript expression code that returns the result.
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\poptoolutils.py:
- 253
- 254 # special case switches.
- 255: if node.type().name() == 'switch':
- 256 liveinput = node.parm('input').eval()
- 257 if liveinput < 0 or liveinput >= len(node.inputs()):
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\rigtoolutils\iktwistuserinput.py:
- 54
- 55 def isOneBoneInput(inputlist):
- 56: return len(inputlist) == 1 and inputlist[0].type().name() == 'bone'
- 57
- 58 def isStartEndBoneInput(inputlist):
- 59 return len(inputlist) == 2 and \
- 60: inputlist[0].type().name() == 'bone' and \
- 61: inputlist[1].type().name() == 'bone'
- 62
- 63 def _checkUserInputListError(inputlist):
- ..
- 78 # First bone must not be parented to another bone
- 79 start_inputs = inputlist[0].inputs()
- 80: if start_inputs != () and start_inputs[0].type().name() == 'bone':
- 81 raise hou.Error("Parent of start bone is a bone. Please select a start bone that does not have a bone parent or does not have a parent")
- 82
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\shopclerks\clerkutil.py:
- 81 if shop.shaderType() == hou.shaderType.Material:
- 82 for child in shop.children():
- 83: if child.type().name() == 'suboutput':
- 84 for con in child.inputConnections():
- 85 if idx is None or con.inputIndex() == idx:
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\soptoolutils.py:
- 385 elif merge_context:
- 386 # Create a Merge SOP to view all nodes
- 387: if displaysop.type().name() == "merge" \
- 388 and displaysop.creatorState() == nodetypename:
- 389 mergesop = displaysop
- ...
- 453 set_obj_pos = container != cwd \
- 454 and container.type().category() == hou.objNodeTypeCategory()
- 455: if merge_context and container.displayNode().type().name() == "merge":
- 456 set_obj_pos = False
- 457 if set_obj_pos:
- ...
- 533 if reusablenode is not None and not reusablenode.isHardLocked() \
- 534 and not reusablenode.isBypassed() \
- 535: and reusablenode.type().name() == nodetypename:
- 536 targetnode = reusablenode
- 537 reused = True
- ...
- 1088
- 1089 # Ignore if we already are ease out.
- 1090: if node.type().name() == 'attribfade':
- 1091 node.setCurrent(True, True)
- 1092 active_pane.enterCurrentNodeState()
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\terraintoolutils.py:
- 136 # We already have something connected to the
- 137 # mask input, make sure it is not already a paint
- 138: if maskinput.type().name() == 'heightfield_paint':
- 139 paintnode = maskinput
- 140
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\toolutils.py:
- 371 A matchtype of None is assumed to match any node.
- 372 """
- 373: return matchtype is None or node.type().name() == matchtype
- 374
- 375 def nodeTypeBaseNameMatches(node, matchtype):
- C:\Program Files\Side Effects Software\Houdini 16.5.378\houdini\python2.7libs\voptoolutils.py:
- 607 computes the concatenated prefix.
- 608 """
- 609: is_parm_vop = node.type().name() == 'parameter'
- 610 folder_labels = ["UI Promotion"]
- 611 parm_tuple = addOrReplaceStringParm(node,
- ...
- 781 multi_input = node_type.hasUnorderedInputs()
- 782 if (orig_input_node is not None and
- 783: orig_input_node.type().name() == filter_node_type):
- 784 # The original_input_node is of our mix node type, so we'll
- 785 # reuse it for mixing.
- ...
- 2073 array = array + (node, )
- 2074
- 2075: if not skip_self and node.type().name() == node_type:
- 2076 return node
- 2077
- ....
- 2182 do_delete = True
- 2183 elif (orig_input_node is not None and
- 2184: orig_input_node.type().name() == mix_with_existing_type):
- 2185 mix_node = orig_input_node
- 2186
- 79 matches across 30 files
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement