LoginSignup
1
0

Houdini Pythonの各種メンバー表

Posted at

HoudiniのPythonでどんなメンバーやメソッドがあるのか毎回dirで調べてたので
もういっそ表にしてしまおう。
なんならQiitaでどこでも見れる様にしておこう、だがあくまで一覧。
気になるメンバーなりメソッドなり見つけたらそいつでググるべし。
OBJSOPジオメトリTOPwork_itemgraph
何か間違っていましたらご指摘下さい。(↑半分くらいページ内リンクが飛びません・・・)

OBJ

PythonSOPでOBJのノードのメンバーを下記のコードで調べた。

node = hou.node('/obj/geo1')
for i in dir(node):
    print(i)
_OpNode__creationTime clearUserDataDict hide moveParmTranslateIntoPreTransform selectPreviousVisibleWorkItem
_OpNode__modificationTime collapseIntoSubnet hm movePreTransformIntoParmTransform selectedChildren
__class__ color indirectInputs moveToGoodPosition selectedItems
__delattr__ combine infoTree name sessionId
__dict__ comment input needsToCook setBuiltExplicitly
__dir__ cook inputAncestors networkBoxes setCachedUserData
__doc__ cookCodeGeneratorNode inputConnections networkDots setColor
__eq__ cookCodeLanguage inputConnectors networkItemType setComment
__format__ cookCount inputFollowingOutputs node setCookTransform
__ge__ cookPathNodes inputIndex nodeGroup setCreatorState
__getattribute__ copyItems inputLabels nodeGroups setCurrent
__gt__ copyItemsToClipboard inputNames nodes setCurrentTOPPage
__hash__ copyNetworkBox inputs numItems setDataBlock
__init__ copyStickyNote insertInput numOrderedInputs setDeleteScript
__init_subclass__ copyTo isBuiltExplicitly origin setDisplayDescriptiveNameFlag
__le__ createCompiledDigitalAsset isCompiled outputConnections setDisplayFlag
__lt__ createDigitalAsset isCurrent outputConnectors setEditableInputString
__module__ createInputNode isDelayedDefinition outputForViewFlag setExpressionLanguage
__ne__ createNetworkBox isDisplayDescriptiveNameFlagSet outputIndex setFirstInput
__new__ createNetworkDot isDisplayFlagSet outputLabels setGenericFlag
__reduce__ createNode isEditable outputNames setInput
__reduce_ex__ createOrMoveVisualizer isEditableInsideLockedHDA outputs setName
__repr__ createOutputNode isFlagReadable parent setNamedInput
__setattr__ createStickyNote isFlagWritable parentAndSubnetTransform setNextInput
__sizeof__ creationTime isGenericFlagSet parentNetworkBox setOutputForViewFlag
__str__ creator isHidden parm setParmClipData
__subclasshook__ creatorState isInsideLockedHDA parmAliases setParmExpressions
__swig_destroy__ dataBlock isLockedHDA parmClipData setParmPivotTransform
__weakref__ dataBlockKeys isMaterialManager parmPivotTransform setParmTemplateGroup
_asVoidPointer dataBlockType isNetwork parmTemplateGroup setParmTransform
_cookNoInterruptInternal deleteItems isObjectDisplayed parmTransform setParms
_getArgumentAutoComplete deleteScript isObjectDisplayedAtFrame parmTuple setParmsPending
_loadParmClip dependents isPicked parmTuples setPicked
_parmClipData deselectWorkItem isSelectableInViewport parmTuplesInFolder setPosition
_saveParmClip destroy isSelected parms setPreTransform
_setParmClipData destroyCachedUserData isShowingOrigin parmsInFolder setSelectableInViewport
addControlParmFolder destroyUserData isSubNetwork parmsReferencingThis setSelected
addEventCallback digitsInName isTimeDependent pasteItemsFromClipboard setUserData
addNodeGroup displayNode isUsingXray path setWorldTransform
addParmCallback editableInputString item position shiftPosition
addSpareParmFolder editableInputStrings items preTransform showOrigin
addSpareParmTuple errors iterNetworkBoxes recursiveGlob simulation
alembicGetCameraDict evalParm iterStickyNotes references size
allItems evalParmTuple layoutChildren relativePathTo spareParms
allNodes eventCallbacks loadChildrenFromFile removeAllEventCallbacks stampValue
allParms expressionLanguage loadItemsFromFile removeDataBlock stickyNotes
allSubChildren extractAndDelete loadParmClip removeEventCallback subnetOutputs
allSubItems fileReferences localAttributes removeSpareParmFolder supportsMultiCookCodeContexts
allowEditingOfContents findNetworkBox localTransform removeSpareParmTuple syncDelayedDefinition
appendComment findNetworkBoxes localTransformAtTime removeSpareParms syncNodeVersionIfNeeded
asCode findNodesThatProcessedObject localVariables renderNode this
buildLookatRotation findOrCreateMotionEffectsNetwork matchCurrentDefinition replaceSpareParmTuple thisown
cachedUserData findStickyNote matchesCurrentDefinition runInitScripts type
cachedUserDataDict findStickyNotes material saveChildrenToFile updateParmStates
canCreateDigitalAsset getTransformFromPointToPoint messages saveCodeToFile useXray
canGenerateCookCode getTransformToNode modificationTime saveCompiledCookCodeToFile userData
changeNodeType glob motionEffectsNetworkPath saveCookCodeToFile userDataDict
childTypeCategory globParms move saveItemsToFile warnings
children hdaModule moveParmRotateIntoPreTransform saveParmClip worldTransform
clearCachedUserDataDict hdaViewerHandleModule moveParmScaleIntoPreTransform saveToCompiledVexFile worldTransformAtTime
clearParmAliases hdaViewerStateModule moveParmTransformIntoPreTransform selectNextVisibleWorkItem

SOPノードのメンバー

PythonSOPでSOPのノードのメンバーを下記のコードで調べた。

node = hou.pwd()
geo = node.geometry()

for i in dir(node):
    print(i)
_OpNode__creationTime collapseIntoSubnet hasVerb moveToGoodPosition setCurPrim
_OpNode__modificationTime color hdaModule name setCurVertex
__class__ comment hdaViewerHandleModule needsToCook setCurrent
__delattr__ cook hdaViewerStateModule networkBoxes setCurrentTOPPage
__dict__ cookCodeGeneratorNode hide networkDots setDataBlock
__dir__ cookCodeLanguage hm networkItemType setDeleteScript
__doc__ cookCount indirectInputs node setDisplayDescriptiveNameFlag
__eq__ cookPathNodes infoTree nodeGroup setDisplayFlag
__format__ copyItems input nodeGroups setEditableInputString
__ge__ copyItemsToClipboard inputAncestors nodes setExpressionLanguage
__getattribute__ copyNetworkBox inputConnections numItems setFirstInput
__gt__ copyNodeSelectionToUserSelection inputConnectors numOrderedInputs setGenericFlag
__hash__ copyStickyNote inputFollowingOutputs outputConnections setHardLocked
__init__ copyTo inputGeometry outputConnectors setHighlightFlag
__init_subclass__ createCompiledDigitalAsset inputGeometryAtFrame outputForViewFlag setInput
__le__ createDigitalAsset inputIndex outputIndex setManagesAttribDataIds
__lt__ createInputNode inputLabels outputLabels setName
__module__ createNetworkBox inputNames outputNames setNamedInput
__ne__ createNetworkDot inputs outputs setNextInput
__new__ createNode insertInput parent setOutputForViewFlag
__reduce__ createOrMoveVisualizer isBuiltExplicitly parentNetworkBox setParmClipData
__reduce_ex__ createOutputNode isBypassed parm setParmExpressions
__repr__ createStickyNote isCompiled parmAliases setParmTemplateGroup
__setattr__ creationTime isCurrent parmClipData setParms
__sizeof__ creator isDelayedDefinition parmTemplateGroup setParmsPending
__str__ creatorState isDisplayDescriptiveNameFlagSet parmTuple setPicked
__subclasshook__ curPoint isDisplayFlagSet parmTuples setPosition
__swig_destroy__ curPrim isEditable parmTuplesInFolder setRenderFlag
__weakref__ curVertex isEditableInsideLockedHDA parms setSelectableTemplateFlag
_asVoidPointer dataBlock isFlagReadable parmsInFolder setSelected
_cookNoInterruptInternal dataBlockKeys isFlagWritable parmsReferencingThis setSelection
_dirtyMicroNodesStates dataBlockType isGenericFlagSet pasteItemsFromClipboard setSoftLocked
_getArgumentAutoComplete deleteItems isHardLocked path setTemplateFlag
_getMicroNodesStates deleteScript isHidden position setUnloadFlag
_loadParmClip dependents isHighlightFlagSet recursiveGlob setUserData
_parmClipData deselectWorkItem isInsideLockedHDA references shiftPosition
_saveParmClip destroy isLockedHDA relativePathTo simulation
_sendSelectionChangedEvent destroyCachedUserData isMaterialManager removeAllEventCallbacks size
_setCurrentMicroNodeName destroyUserData isNetwork removeDataBlock spareParms
_setParmClipData digitsInName isPicked removeEventCallback stampValue
addControlParmFolder displayNode isRenderFlagSet removeSpareParmFolder stickyNotes
addEventCallback editableInputString isSelectableTemplateFlagSet removeSpareParmTuple subnetOutputs
addNodeGroup editableInputStrings isSelected removeSpareParms supportsMultiCookCodeContexts
addParmCallback errors isSoftLocked renderNode syncDelayedDefinition
addSpareParmFolder evalParm isSubNetwork replaceSpareParmTuple syncNodeVersionIfNeeded
addSpareParmTuple evalParmTuple isTemplateFlagSet runInitScripts this
allItems eventCallbacks isTimeDependent saveChildrenToFile thisown
allNodes expressionLanguage isUnloadFlagSet saveCodeToFile type
allParms extractAndDelete item saveCompiledCookCodeToFile updateParmStates
allSubChildren fileReferences items saveCookCodeToFile userData
allSubItems findNetworkBox iterNetworkBoxes saveItemsToFile userDataDict
allowEditingOfContents findNetworkBoxes iterStickyNotes saveParmClip verb
appendComment findNodesThatProcessedObject layoutChildren saveToCompiledVexFile warnings
asCode findOrCreateMotionEffectsNetwork loadChildrenFromFile selectNextVisibleWorkItem
bypass findStickyNote loadItemsFromFile selectPreviousVisibleWorkItem
cachedUserData findStickyNotes loadParmClip selectedChildren
cachedUserDataDict generateInputAttribMenu localAttributes selectedItems
canCreateDigitalAsset generateInputGroupMenu localVariables selection
canGenerateCookCode geometry managesAttribDataIds sessionId
changeNodeType geometryAtFrame matchCurrentDefinition setBuiltExplicitly
childTypeCategory geometryDelta matchesCurrentDefinition setCachedUserData
children geometryDep messages setColor
clearCachedUserDataDict geometryNoDep modificationTime setComment
clearParmAliases glob motionEffectsNetworkPath setCreatorState
clearUserDataDict globParms move setCurPoint

ジオメトリのメンバー

PythonSOPでSOPのgeometry()のメンバーを下記のコードで調べた。

node = hou.pwd()
geo = node.geometry()
for i in dir(geo):
    print(i)
__class__ averageMinDistance findEdgeGroup modificationCounter setGlobalAttribValue
__delattr__ boundingBox findGlobalAttrib nearestPoint setIntrinsicValue
__dict__ clear findPointAttrib nearestPoints setPointFloatAttribValues
__dir__ containsPrimType findPointGroup nearestPrim setPointFloatAttribValuesFromString
__doc__ copy findPrimAttrib orientedBoundingBox setPointIntAttribValues
__eq__ copyAttrib findPrimGroup orientedPointBoundingBox setPointIntAttribValuesFromString
__format__ copyAttribs findVertexAttrib orientedPrimBoundingBox setPointStringAttribValues
__ge__ countPrimType findVertexGroup packToFolder setPreferredPrecision
__getattribute__ createBezierCurve floatAttribValue packedFolderProperties setPrimFloatAttribValues
__gt__ createBezierSurface floatListAttribValue point setPrimFloatAttribValuesFromString
__hash__ createChannelPrim freeze pointAttribs setPrimIntAttribValues
__init__ createEdgeGroup generateAttribMenu pointBoundingBox setPrimIntAttribValuesFromString
__init_subclass__ createHexahedron generateGroupMenu pointFloatAttribValues setPrimStringAttribValues
__le__ createHexahedronInPlace globEdges pointFloatAttribValuesAsString setVertexFloatAttribValues
__lt__ createMeshSurface globPoints pointGroups setVertexFloatAttribValuesFromString
__module__ createNURBSCurve globPrims pointIntAttribValues setVertexIntAttribValues
__ne__ createNURBSSurface globVertices pointIntAttribValuesAsString setVertexIntAttribValuesFromString
__new__ createPacked globalAttribs pointLoop setVertexStringAttribValues
__reduce__ createPackedGeometry importLop pointNormals sopNode
__reduce_ex__ createPoint importUsdStage pointStringAttribValues sopNodeOutputIndex
__repr__ createPointGroup incrementAllDataIds points stringAttribValue
__setattr__ createPoints incrementDataIdsForAddOrRemove preferredPrecision stringListAttribValue
__sizeof__ createPolygon incrementModificationCounter prim this
__str__ createPolygons incrementPrimitiveIntrinsicsDataId primAttribs thisown
__subclasshook__ createPrimGroup incrementTopologyDataId primBoundingBox topologyDataId
__swig_destroy__ createTetrahedron intAttribValue primFloatAttribValues transform
__weakref__ createTetrahedronInPlace intListAttribValue primFloatAttribValuesAsString transformPrims
_attribInfo createVertexGroup intersect primGroups unpackFromFolder
_generateGroupMenu createVolume intrinsicNames primIntAttribValues vertexAttribs
_geometryHandle data intrinsicReadOnly primIntAttribValuesAsString vertexFloatAttribValues
_getPointChildren deletePoints intrinsicSize primLoop vertexFloatAttribValuesAsString
_guDetailHandle deletePrims intrinsicValue primStringAttribValues vertexGroups
_orderedPoints deletePrimsOutsideBoundingBox intrinsicValueDict primitiveIntrinsicsDataId vertexIntAttribValues
addArrayAttrib dictAttribValue isReadOnly prims vertexIntAttribValuesAsString
addAttrib dictListAttribValue isValid renameGlobalAttrib vertexStringAttribValues
attribType edgeGroups iterPoints renamePointAttrib vexAttribDataId
attribValue edgeLoop iterPrims renamePrimAttrib
attributeCaptureObjectPaths execute load renameVertexAttrib
attributeCaptureRegions extractPackedPaths loadFromFile saveToFile
averageEdgeLength findEdge merge selection

TOP

PythonSOPでTOPノードのメンバーを下記のコードで調べた。

node =hou.node('/obj/geo1/topnet1/wedge1')

for i in dir(geo):
    print(i)
_OpNode__creationTime collapsedItem getCookState layoutChildren saveCompiledCookCodeToFile
_OpNode__modificationTime collapsedItems getDataLayerInterfaceId loadChildrenFromFile saveCookCodeToFile
__class__ color getFilterNodes loadItemsFromFile saveItemsToFile
__delattr__ comment getPDGGraphContext loadParmClip saveParmClip
__dict__ cook getPDGGraphContextName localAttributes saveToCompiledVexFile
__dir__ cookAllOutputWorkItems getPDGNode localVariables selectNextVisibleWorkItem
__doc__ cookCodeGeneratorNode getPDGNodeId matchCurrentDefinition selectPreviousVisibleWorkItem
__eq__ cookCodeLanguage getPDGNodeName matchesCurrentDefinition selectedChildren
__format__ cookCount getSelectedWorkItem messages selectedItems
__ge__ cookOutputWorkItems getWorkItemName modificationTime sessionId
__getattribute__ cookPathNodes glob motionEffectsNetworkPath setBuiltExplicitly
__gt__ cookWorkItems globParms move setCachedUserData
__hash__ copyItems graphCommands moveToGoodPosition setColor
__init__ copyItemsToClipboard hdaModule name setComment
__init_subclass__ copyNetworkBox hdaViewerHandleModule needsToCook setCreatorState
__le__ copyStickyNote hdaViewerStateModule networkBoxes setCurrent
__lt__ copyTo hide networkDots setCurrentTOPPage
__module__ createCompiledDigitalAsset hm networkItemType setDataBlock
__ne__ createDigitalAsset indirectInputs node setDeleteScript
__new__ createInputNode infoTree nodeGroup setDisplayDescriptiveNameFlag
__reduce__ createNetworkBox input nodeGroups setDisplayFlag
__reduce_ex__ createNetworkDot inputAncestors nodes setEditableInputString
__repr__ createNode inputConnections numItems setExpressionLanguage
__setattr__ createOrMoveVisualizer inputConnectors numOrderedInputs setFirstInput
__sizeof__ createOutputNode inputDataTypes outputConnections setGenericFlag
__str__ createStickyNote inputFollowingOutputs outputConnectors setInput
__subclasshook__ creationTime inputIndex outputDataTypes setName
__swig_destroy__ creator inputLabels outputForViewFlag setNamedInput
__weakref__ creatorState inputNames outputIndex setNextInput
_asVoidPointer dataBlock inputs outputLabels setOutputForViewFlag
_cookNoInterruptInternal dataBlockKeys insertInput outputNames setParmClipData
_getArgumentAutoComplete dataBlockType isBuiltExplicitly outputNode setParmExpressions
_loadParmClip deleteItems isBypassed outputs setParmTemplateGroup
_parmClipData deleteScript isCompiled parent setParms
_saveParmClip dependents isCurrent parentNetworkBox setParmsPending
_setParmClipData deselectWorkItem isDelayedDefinition parm setPicked
addControlParmFolder destroy isDisplayDescriptiveNameFlagSet parmAliases setPosition
addEventCallback destroyCachedUserData isDisplayFlagSet parmClipData setRenderFlag
addNodeGroup destroyUserData isEditable parmTemplateGroup setSelected
addPDGFilter digitsInName isEditableInsideLockedHDA parmTuple setSelectedWorkItem
addParmCallback dirtyAllTasks isFilterOn parmTuples setUserData
addSpareParmFolder dirtyAllWorkItems isFlagReadable parmTuplesInFolder shiftPosition
addSpareParmTuple dirtyTasks isFlagWritable parms simulation
allItems dirtyWorkItems isGenericFlagSet parmsInFolder size
allNodes displayNode isHidden parmsReferencingThis spareParms
allParms editableInputString isInsideLockedHDA pasteItemsFromClipboard stampValue
allSubChildren editableInputStrings isLockedHDA path stickyNotes
allSubItems enablePDGFilter isMapper pauseCook subnetOutputs
allowEditingOfContents errors isMaterialManager position supportsMultiCookCodeContexts
appendComment evalParm isNetwork recursiveGlob syncDelayedDefinition
asCode evalParmTuple isPDGFilter references syncNodeVersionIfNeeded
bypass eventCallbacks isPartitioner relativePathTo taskGraphCommands
cachedUserData executeGraph isPicked removeAllEventCallbacks this
cachedUserDataDict expressionLanguage isProcessor removeDataBlock thisown
canCreateDigitalAsset extractAndDelete isRenderFlagSet removeEventCallback topParent
canGenerateCookCode fileReferences isScheduler removePDGFilter type
cancelCook findNetworkBox isSelected removeSpareParmFolder updateParmStates
changeNodeType findNetworkBoxes isServiceCompatible removeSpareParmTuple userData
childTypeCategory findNodesThatProcessedObject isSubNetwork removeSpareParms userDataDict
children findOrCreateMotionEffectsNetwork isTimeDependent renderNode warnings
clearCachedUserDataDict findStickyNote item replaceSpareParmTuple workItemStates
clearParmAliases findStickyNotes items runInitScripts workItemsInCollapsedItemIds
clearUserDataDict generateStaticItems iterNetworkBoxes saveChildrenToFile
collapseIntoSubnet generateStaticWorkItems iterStickyNotes saveCodeToFile

ワークアイテムのメンバー

PythonTOPでTOPのワークアイテムのメンバーを下記のコードを書いてGenerateNodeの結果がこれ。

for i in dir(work_item):
    print(i)
Serialization addEventHandler cookDuration hasAttrib isUnsuccessful
__class__ addExpectedOutputFile cookPercent hasCommand label
__delattr__ addExpectedOutputFiles cookSubItem hasCookPercent loadAttributes
__dir__ addExpectedResultData cookType hasCustomState loadJSONFile
__doc__ addLog cookWarning hasDependency loadJSONString
__eq__ addMessage createJSONPatch hasEnvironmentVar localizePath
__format__ addOutputFile customState hasEventHandler lockAttributes
__ge__ addOutputFiles data hasFrame logMessages
__getattribute__ addResultData dependencies hasLabel loopBegin
__getitem__ addWarning dependencyState hasPlatformCommand loopDepth
__gt__ attrib dependents hasWarnings loopIteration
__hash__ attribArray dirty id loopLock
__init__ attribHash envLookup index loopNumber
__init_subclass__ attribMatch environment inputFiles loopSize
__iter__ attribNames eraseAttrib inputFilesForTag makeActive
__le__ attribType eventHandlers inputResultData memoryUsage
__lt__ attribValue executionType inputResultDataForTag name
__module__ attribValues expectedInputFiles intAttribArray node
__ne__ batchIndex expectedInputResultData intAttribValue numAttribs
__new__ batchParent expectedOutputFiles invalidateCache numericAttribute
__reduce__ cancel expectedResultData isBatch outputFiles
__reduce_ex__ checkSubItem fileAttribArray isCooked outputFilesForTag
__repr__ clearAttribs fileAttribValue isFrozen parent
__setattr__ clearEnvironment firstOutputFileForTag isInProcess partitionItems
__sizeof__ clearExpectedOutputFiles firstResultDataForTag isNoGenerate platformCommand
__str__ clearExpectedOutputs floatAttribArray isOutOfProcess prepareDirty
__subclasshook__ clearOutputFiles floatAttribValue isPartition priority
addAttrib clearResultData frame isPostCook pyObjectAttribValue
addEnvironmentVar command frameStep isStatic removeAllEventHandlers
addError context graph isSuccessful removeEventHandler

グラフのメンバー

PythonTOPでTOPのワークアイテムのメンバーを下記のコードを書いてGenerateNodeで調べた。

for i in dir(work_item):
    print(i)
__class__ __subclasshook__ loadAttributes
__delattr__ addAttrib lockAttributes
__dir__ attrib node
__doc__ attribArray nodeCount
__eq__ attribHash nodePort
__format__ attribMatch nodes
__ge__ attribNames numAttribs
__getattribute__ attribType prepareDirty
__getitem__ attribValue pyObjectAttribValue
__gt__ attribValues renameAttrib
__hash__ bindGlobalAttribute saveAttributes
__init__ boundAttributeWorkItem serialize
__init_subclass__ clearAttribs setAttribFlag
__iter__ dependencyForKey setFileAttrib
__le__ dependencyGraph setFloatAttrib
__lt__ dirty setIntAttrib
__module__ eraseAttrib setPyObjectAttrib
__ne__ fileAttribArray setStringAttrib
__new__ fileAttribValue stringAttribArray
__reduce__ floatAttribArray stringAttribValue
__reduce_ex__ floatAttribValue timeDependentAttribs
__repr__ graphDescription workItem
__setattr__ hasAttrib workItemById
__sizeof__ intAttribArray workItemByName
__str__ intAttribValue workItemsByIds
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0