Created
July 4, 2015 18:54
-
-
Save taikomatsu/193b371c1670d2ca8264 to your computer and use it in GitHub Desktop.
Copy all textures in current scene
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pymel.core import * | |
import shutil | |
copydir = r'z:\path\to\copy' | |
for o in ls(type='file'): | |
path = o.fileTextureName.get() | |
shutil.copy(path, copydir) | |
print('# Done') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment