[cgkit-user] Sequences - Pattern for equal name
Brought to you by:
mbaas
|
From: Y. N. <ma...@yg...> - 2009-12-15 07:38:33
|
Hi guys,
Im new to cgkit and first of all I would like to give my congrats for such interesting package.
1. Im creating a tool that will archive Shake and Nuke scripts, so Im trying to use the sequence module to handle the input files. Currently Im not
able to use the CopySequence class to copy my files keeping the same filename, the only thing I would like to change is the path. I really dont need
to change the filename, padding pattern and so on. Im looking to the same functionality as seqcp.py gives me, input sequence and output path. Is there any pattern, scheme or anything else that would give me this option?!
2. I will have to match the strings that I get from Shake and Nuke with the files themselves. The problem is, I have strings that just represents the
numbering of the files instead of refering to the exact padding on them. IE. shot001.1-230#.iff doesn't gives me any hint if it has a three, four or
five digit padding. Would be the 'usual' or 'right' way of matching this by testing the lenght of the filepadding with something like len(fileName.split('.')[1])!?
I would be thankfully If anyone could give me some hints with this and/or maybe point me to examples using this module.
Thanks by the awesome tools and utilities,
Cheers,
Ygor Nachornik
www.ygor.ppg.br
|