[Sidefx-houdini-list] Python and node types

Pablo Giménez pablogipi at gmail.com
Mon Jun 2 05:59:56 EDT 2008


If I remember correctly is something like: type().name()
For example: hou.none('/obj/geo1').type().name()
Use the name method of the hou.NodeType class.
hope this helps.

2008/6/2 Phil Spicer <PSpicer at bournemouth.ac.uk>:

> Hi,
>
> In Python, how would I get a node type returned as a single word. When I
> use type() it returns <hou.NodeType for Object shopnet> and all I want is
> the shopnet bit.
>
>
> Kind regards,
>
> Phil.
>
>
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 

Un saludo
Best Regards
Pablo Giménez



More information about the Sidefx-houdini-list mailing list