In HDA PythonModule section, I know the functions we write is a “function type.”
for example, in an OTL, right click-> type properties->Scripts->PythonModule
we write a function called count():
def count(a = 0):
a = a + 1
return a
and in the houdini python shell we type this:
>>>import inspect
>>>myfunction = hou.node(“/obj/myOTL”).hdaModule().count
>>>inspect.isfunction(myfunction)
this returns True, so we know the count() is a function in houdiniPython
everything is good here, but I am wondering what type this is
hou.node(“/obj/myOTL”).hdaModule()
this is not a module, class, neither a method. How hodiniPython define it?