Skip to content

Instantly share code, notes, and snippets.

@bohdon
Created January 14, 2013 15:24
Show Gist options
  • Save bohdon/4530755 to your computer and use it in GitHub Desktop.
Save bohdon/4530755 to your computer and use it in GitHub Desktop.
exporting snippet
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