View Full Version : dgMod.createNode("transform") doesn't create a thing


Piddu
08 August 2007, 10:54 PM
Hi there. I'm trying to create a transform node into my command.
While i'm writing:
MObject newCurveX = dgMod.createNode(MString("animCurveTL"));
and a curve is created, the same is not happening for:
MObject newTransform = dgMod.createNode(MString("transform"));

I've tried to use:
MObject newTransform = dgMod.createNode(MFn::kTransform);
as well, but with no luck.

I'm on maya 8.5 on mac osx and I don't know if there are problems relatives to this.
Thanks for help.
Daniele

CGTalk Moderation
08 August 2007, 10:54 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.


1