What does it mean for an object to be “in the underworld?”
问题 I have this code: def block_stacks(num): stack = cmds.group(empty=True, name='Stacks#') size = num for var in range(num): i = 0 r_rot = random.uniform(0,359) block = cmds.polyCube(h=0.5, w=0.5, d=0.5, name='block#') cmds.parent(block, stack) cmds.move(0, 5.38 + i, 0, 'block*') cmds.rotate(0, r_rot, 0, 'block*') rR= random.uniform(0, 1.0) rG= random.uniform(0, 1.0) rB= random.uniform(0, 1.0) cmds.polyColorPerVertex('block*', rgb=[rR,rG,rB], cdo = True) i+=0.5 block_stacks(5) in Maya's Script