Created
January 14, 2013 15:24
-
-
Save bohdon/4530755 to your computer and use it in GitHub Desktop.
exporting snippet
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
import os | |
from pymel.core import * | |
import exportUtils | |
reload(exportUtils) | |
# get rig/publish directory relative to mod/work | |
d = os.path.dirname | |
outDir = os.path.join(d(d(d(sceneName()))), 'rig/publish') | |
exportUtils.exportAssemblies(outDir, resetPositions=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment