Hey all,
I have an HDA that I'm trying to import using python. And for some reason it keeps saying that the node type name is incorrect. But it isn't… Am I missing something here, super confused. Please see attached image.
Can't import node using python. Node type name is incorrect error
1646 1 0- SuekieZA
- Member
- 12 posts
- Joined: Feb. 2018
- Offline
- alexwheezy
- Member
- 194 posts
- Joined: Jan. 2013
- Online
SuekieZA
Hey all,
I have an HDA that I'm trying to import using python. And for some reason it keeps saying that the node type name is incorrect. But it isn't… Am I missing something here, super confused. Please see attached image.
Hello!
To create nodes or HDA, you need to use its internal name or label. You can find the HDA label like this
>>> node = hou.node('/obj/geo1/groupexpression1') >>> node.type().name() >>> 'groupexpression'
-
- Quick Links