PDA

View Full Version : How to get nodeType via API


haggi
12-05-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?

Keilun
12-05-2011, 09:33 PM
Try: MString MFnDependencyNode::typeName().

haggi
12-05-2011, 11:21 PM
Works fine, thanks.

CGTalk Moderation
12-05-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.