hi all; true beginner here---have a tiny bit of previous python
knowledge, and a couple weeks of maya under my belt
first question: is this a place to ask really basic pymel questions?
if not, is there a more suitable forum?
second question: why does the first bit work below, and the second
gives a Maya attribute error (trying to pass in variable for face #)?
many thanks! LML
__________________________
import pymel.core as pm
for i in range(10):
pm.polyCube()
pm.move(0,0,i*2)
pm.select('pCube5.f[3]')
pm.delete()
_______________________
import pymel.core as pm
myNum = 5
for i in range(10):
pm.polyCube()
pm.move(0,0,i*2)
pm.select('pCube5.f[myNum]')
pm.delete()
________________________
--
http://groups.google.com/group/python_inside_maya