This statment is from the book practical maya programming. The author later goes on to use xform and shape as arguments in type()
and dir()
functions which I understand.
>>> xform, shape = pmc.polySphere()
Why / how are both xform and shape equalling pmc.polysphere?.. aren't they redundant as transform and shape nodes are created anyway when instancing a sphere? Would this cause complications later on when creating other shapes?
xform is blue in the script editor, what does that mean and how can it be used as the name of a variable?