I tried to tweak the code a bit so that it will register version padding - 
eg. abc_001, abc_002 where in my code I am using something like 
uniqueNamePattern("abc_{0}{0}{0}") 

While it seems to work in a sense, I got abc_111, abc_222 instead... Also I 
tried something like uniqueNamePattern("abc_00{0}")
However, say if I have 12 of the same items and as I execute the code, 
instead of getting abc_010 or abc_011, I got abc_0010, abc_0011

Can someone shed some light to me?

-- 
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/f45bea80-1f80-4552-a1fc-796efe4ddbae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to