View Full Version : How to get nodeType via API

12 December 2011, 06:49 PM
I have to find out of what a type is a custom node e.g. mia_material_x via API.
The default MFn::Type is kPluginDependNode, but I need the "mia_material_x" name.

Any ideas how I can get this name?

12 December 2011, 09:33 PM
Try: MString MFnDependencyNode::typeName().

12 December 2011, 11:21 PM
Works fine, thanks.

CGTalk Moderation
12 December 2011, 11:21 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.