Monday, May 18, 2009

Deborah & Diana Intent - Doubt

# Daniel, it's not working. Can you tell us why?

numRows=20
numColumns=50
numLevels=70

for i in range (0,numRows,1):
x=i
print "x", i
for j in range (0,numColumns,1):
y=j
print "y", j
for k in range (0,numLevels,1):
z=k
print "z", k
myPoint = (x,y,z)
cmds.spaceLocator (p=myPoint)

1 comment:

  1. Hi!
    When I run it in my computer with the proper indentation, it works. It does take a lot of time because of the print commands, but in the end I can see all the points. Three things:

    1) check if you code is indented properly
    2) remove the print commands
    3) try with less points

    It should work...

    ReplyDelete