Skip to content

Instantly share code, notes, and snippets.

@naritomo1984
Last active November 1, 2015 23:45
Show Gist options
  • Select an option

  • Save naritomo1984/0ef0a1f6a3575b9cd5f3 to your computer and use it in GitHub Desktop.

Select an option

Save naritomo1984/0ef0a1f6a3575b9cd5f3 to your computer and use it in GitHub Desktop.
FBXBatchExporter
import pymel.core as pm
objs = pm.selected()
for obj in objs:
pm.select(obj)
##Change the path variables where you want to save
path = 'C:/temp/%s.fbx' % str(obj)
pm.FBXExport('-file', path, '-s')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment