Hi Justin, great suggestions.

also, if wanted to separate already the first element, then we can just use 
the one liner 
obj = cmds.ls(sl=1)[0] #like Aren has on the original code

xrange indeed should be used over range since its more efficient while 
dealing with large amounts. I was testing in a cube with a couple of 
divisions =\
attr cleanup also looks better

btw, critiques are always welcome.
cheers

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/68696f11-5e5f-4f78-94f4-50c9a0e69ce3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to