This feature is not yet implemented
Describes the type of data in a DOP object.
See hou.DopData.dataTypeObject for a function that retrieves a DopDataType instance from a hou.DopData instance. Note that not all DOP data type names have a corresponding DopDataType instance.
Methods
name(self)This feature is not yet implemented
Return the name of this data type.
>>> obj = hou.node("/obj/AutoDopNetwork").simulation().objects()[0] >>> obj.dataTypeObject().name() 'SIM_Object'
nodeType(self)→ hou.NodeTypeThis feature is not yet implemented
Return the DOP node type that creates this DOP data type.
>>> hou.dop.findDataType("SIM_SDF").nodeType() <hou.NodeType for Dop volume>
allowedChildData(self)→ tuple of hou.DopDataTypeThis feature is not yet implemented
Return a tuple of DopDataTypes that are allowed to be attached as subdata to instances of this data type.
These allowed child data types give hints to Houdini to prevent you from accidentally building DOP networks that attach DOP data to the wrong location. Houdini will validate the network and flag possible mistakes when the “Provide Data Hints” option is on.
Houdini also uses this information to decide how many data inputs to display on DOP nodes and how to label those inputs.
The default data hints are stored in
$HFS/houdini/scripts/dophints.cmd.See also hou.DopDataType.maxNumAllowedChildData and hou.DopDataType.allowedChildDataName.
maxNumAllowedChildData(self, type)→intorNoneThis feature is not yet implemented
Given a DopDataType, return the maximum number of allowed children of that type, or
Noneif there is no maximum. If the type is not allowed at all, return 0.See also hou.DopDataType.allowedChildData and hou.DopDataType.allowedChildDataName.
allowedChildDataName(self, type)→strorNoneThis feature is not yet implemented
Given a DopDataType, return what any subdata of that type must be named, or
Noneif there is no name restriction.See also hou.DopDataType.allowedChildData and hou.DopDataType.maxNumAllowedChildData.
addAllowedChildData(self, dop_data_type, max_num=None, child_name=None)This feature is not yet implemented
Allow a DOP data type to be a child of this one, with possible restrictions.
max_numIf not
None, the maximum allowed number of children of this type. IfNone, there is no maximum.child_nameIf not
None, the subdata must have this name when added as a child. IfNone, there are no name restrictions.See hou.DopDataType.allowedChildData for more information.
removeAllowedChildData(self, dop_data_type)This feature is not yet implemented
No longer allow a particular DOP data type to be a child of this one. See hou.DopDataType.allowedChildData and hou.DopDataType.addAllowedChildData for more information.