MGlobal::executeCommand( "polyCube -sx 10 -sy 15 -sz 5 -h 20;" );
Better just calling straight up mel commands from the c++ Api. Maya converts these wrapped python commands back to mel anyway.
maya.mcds
Did you say Maya McDonalds? :O Yum!
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7a%2BueNojccUn7F9EUFbKh4tZtYXiGN4YttQqwriyiRfQg%40mail.gmail.com.