PDA

View Full Version : Creating Cube in Api


gohkgohk
08-15-2009, 05:47 PM
I know in MEL , we can use "polyCube" to create cube with defined width, height..
But does the same thing provide in Maya Api?
thx

gohkgohk
08-15-2009, 06:47 PM
I know in MEL , we can use "polyCube" to create cube with defined width, height..
But does the same thing provide in Maya Api?
thx
Sorry..
i just know i can use executeCommand to run MEL code ....

MString command("polyCube -ch on -o on -w 21.910989 -h 8.015595 -d 10.842417 -cuv 4 ;");
MStringArray result;

MGlobal::executeCommand(command, result, true, true);

CGTalk Moderation
08-15-2009, 06:47 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.