How to find Node name for createNode in Python

   2198   1   0
User Avatar
Member
13 posts
Joined: Feb. 2016
Offline
Hi,

How do I find the name of a node to pass into the createNode()function? I'm following a tutorial, and in it he writes: .createNode(“ifd”) to create a mantra node. But I can't figure out where I find this. I've printed the node using the ‘.asCode()’ function, but I'm not really sure what I'm looking for.

Thanks
User Avatar
Member
8595 posts
Joined: July 2007
Online
instead of node.asCode() do node.type().name()
or MMB on the node and you'll see the type name it in the info
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links