I am coding some MEL for camera creations, I have encountered an issue that 
have make me quite lost

I am trying to do something like this:
createNode transform -n "csc_wcam1";
createNode camera -n "csc_wcamShape1" -p "csc_wcam1";

It works during my "testing" but when the name of the node was changed to 
cater to the actual application, instead of creating the actual camera that 
I am expecting as in my "testing", I got two nodes creations:
createNode transform -n "csc_X2A-1Q_csc_0290_wcam1";
createNode camera -n "csc_X2A-1Q_csc_0290_wcamShape1" -p 
"csc_X2A-1Q_csc_0290_wcam1";

and along with a warning :* // Warning: line 2: No object matches the 
parent name: csc_X2A-1Q_csc_0290_wcam1 // *

These 2 lines of codes are almost exactly the same but why are the output 
are so different?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/e0e415cb-50f2-4625-bfe9-398719347392%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to