1

I want to know if there is any difference between:

import maya.cmds as cmds
cmds.polyCube()

and

from maya import cmds
cmds.polyCube()
Di Wang
  • 445
  • 7
  • 21

1 Answers1

1

In the current context there's no difference between import maya.cmds as cmds and from maya import cmds. Look at this 8-year-old post to know about possible pros and cons.

¡Hope this helps!

Andy Jazz
  • 36,357
  • 13
  • 107
  • 175