Houdini 12 Python Scripting with the Houdini Object Model hou

Class representing a CHOP node.

Methods

Inherited from hou.Node: __eq__, __ne__, _getArgumentAutoComplete, addEventCallback, addNodeGroup, addSpareParmFolder, addSpareParmTuple, allSubChildren, allowEditingOfContents, appendComment, asCode, cachedUserData, cachedUserDataDict, changeNodeType, childTypeCategory, children, clearParmAliases, collapseIntoSubnet, color, comment, cook, cookCount, copyNetworkBox, copyStickyNote, createCompiledDigitalAsset, createDigitalAsset, createInputNode, createNetworkBox, createNode, createOutputNode, createStickyNote, creator, creatorState, deleteScript, destroy, destroyCachedUserData, destroyUserData, digitsInName, errors, evalParm, evalParmTuple, expressionLanguage, extractAndDelete, findNetworkBox, findNetworkBoxes, findNodesThatProcessedObject, findOrCreateMotionEffectsNetwork, findStickyNote, findStickyNotes, glob, hdaModule, hide, hm, indirectInputs, inputAncestors, inputConnections, inputConnectors, inputNames, inputs, insertInput, isBuiltExplicitly, isCurrent, isHidden, isInsideLockedHDA, isLocked, isSelected, isTimeDependent, layoutChildren, loadChildrenFromFile, matchCurrentDefinition, matchesCurrentDefinition, messages, motionEffectsNetworkPath, move, moveToGoodPosition, name, needsToCook, networkBoxes, node, nodeGroup, nodeGroups, outputConnections, outputConnectors, outputNames, outputs, parent, parm, parmAliases, parmTemplateGroup, parmTuple, parmTuples, parmTuplesInFolder, parms, parmsInFolder, path, position, recursiveGlob, relativePathTo, removeAllEventCallbacks, removeEventCallback, removeSpareParmFolder, removeSpareParmTuple, replaceSpareParmTuple, runInitScripts, saveChildrenToFile, saveCompiledCookCodeToFile, saveCookCodeToFile, selectedChildren, sessionId, setBuiltExplicitly, setCachedUserData, setColor, setComment, setCreatorState, setCurrent, setDeleteScript, setExpressionLanguage, setFirstInput, setInput, setName, setNamedInput, setNextInput, setParmExpressions, setParmTemplateGroup, setParms, setPosition, setSelected, setUserData, shiftPosition, simulation, size, spareParms, stampValue, stickyNotes, syncNodeVersionIfNeeded, type, userData, userDataDict, warnings

bypassTurn the node’s bypass flag on or off, making this node have no effect.
isAudioFlagSetReturns whether the node’s audio flag is on.
isBypassedReturns whether the node’s bypass flag is on.
isDisplayFlagSetReturns whether the node’s display flag is on.
isExportFlagSetReturns whether the node’s export flag is on.
isUnloadFlagSetReturns whether the node’s unload flag is on.
setAudioFlagTurns the node’s audio flag on or off.
setDisplayFlagTurns the node’s display flag to on or off.
setExportFlagTurns the node’s export flag to on or off.
setUnloadFlagTurns the node’s unload flag to on or off.
trackReturn the track of the given name, or None if it doesn’t exist.
tracksReturns a tuple of all the tracks in this node.
bypass(self, on)

Turn the node’s bypass flag on or off, making this node have no effect.

evaluate(self, track_index, sample_index)

This feature is not yet implemented

evaluateInput(self, chop_input_node, track_index, sample_index)

This feature is not yet implemented

evaluateInputAtEnd(self, chop_input_node)

This feature is not yet implemented

evaluateInputMaxValue(self, chop_input_node, track_index)

This feature is not yet implemented

evaluateInputMinValue(self, chop_input_node, track_index)

This feature is not yet implemented

findTrack(self, name) → Track or None

This feature is not yet implemented

frameToSamples(self, frame)

This feature is not yet implemented

isAudioFlagSet(self) bool

Returns whether the node’s audio flag is on.

isBypassed(self) bool

Returns whether the node’s bypass flag is on.

isDisplayFlagSet(self) bool

Returns whether the node’s display flag is on.

isExportFlagSet(self) bool

Returns whether the node’s export flag is on.

isUnloadFlagSet(self) bool

Returns whether the node’s unload flag is on.

numSamples(self)

This feature is not yet implemented

sampleRate(self)

This feature is not yet implemented

samplesToFrame(self, samples)

This feature is not yet implemented

samplesToTime(self, samples)

This feature is not yet implemented

saveClip(self, file_name)

This feature is not yet implemented

setAudioFlag(self, on)

Turns the node’s audio flag on or off.

setDisplayFlag(self, on)

Turns the node’s display flag to on or off.

setExportFlag(self, on)

Turns the node’s export flag to on or off.

setUnloadFlag(self, on)

Turns the node’s unload flag to on or off.

startSample(self)

This feature is not yet implemented

timeToSamples(self, time)

This feature is not yet implemented

tracks(self) → tuple of Tracks

Returns a tuple of all the tracks in this node.

track(self, track_name) hou.Track or None

Return the track of the given name, or None if it doesn’t exist.

Superclasses

Replaces

  • chopls command
  • opget command
  • opsave command
  • opset command
  • chop expression function
  • chope expression function
  • chopn expression function
  • chopr expression function
  • chops expression function
  • ic expression function
  • ice expression function
  • icl expression function
  • icmax expression function
  • icmin expression function
  • icn expression function
  • icr expression function
  • ics expression function
  • oc expression function
  • opflag expression function