Here is the code I have so far:
import maya.cmds as cmds
wyndow=cmds.polyCube(width= 5, height= 10, depth=1, subdivisionsWidth=5, subdivisionsHeight=10, subdivisionsDepth=5, name= "Window_1")
cmds.setAttr(wyndow+".translateY", 5)
Im trying to bring my polycube up on translate Y, but I keep getting the error of:
Error: TypeError: file line 3: can only concatenate list (not "str") to list #**