Skip to content
Copies a Maya File and its Dependencies to a different Location
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
copyToFarm
images
shelves
LICENSE.md
README.md

README.md

Maya_CopyToFarm

This script provides a window in which the user is able to select a directory to copy the current file and it´s dependencies to a different, arbitrary location (e.g. a network storage). In this process the script will copy all linked/referenced files to the chosen location as long as they are below the current workspace.

The addon also provides the user with a list of files which will be copied. The script is optmized for fast copying and copies only the files which are referenced or linked to within Maya. Further the user is able to import all reference (also multi-level references) with one click. In this case the script saves the current file as a copy with a "_imported" suffix.

The user can also choose if only newer files or all files should be copied. In both cases existing files will be overwritten.

The user is also able to open the File in its destination folder in one step, by setting the according checkmark.

This script has only been tested with Maya 2019 and Windows 10.

alt text

Features

  • Copy Files to different Location (Links included)
  • Import all References (and create a backup .ma-File for it)
  • List all Linked files
  • Only copy newer files
  • Copy all Files
  • Open New File in one Step (also sets the Workspace to this new Location)
  • Copy Files from the current Project to new Project Directory (Rebuilds FolderStructure Below the new Project Location)
  • Copies Files from outside the Project dir into the new destination as well
  • works with Maya 2019 and newer (2018 and older possibly as well but untested)
  • OS-Exceptions are handled
  • Windows only (at the Moment)

Todos

  • A possible Version for Linux/OSX (low Priority)

Installation

  1. Download zip or clone repo
  2. Copy the Folder "CopyToFarm" to your "C:\Users<User>\Documents\maya\2019\scripts" Folder
  3. Add provided Shelf or add Lines below to a shelf button:
import copyToFarm.controller as copyToFarmCtrl
reload(copyToFarmCtrl)
copyToFarmCtrl.open()

Contact/Issues/Features/Questions

If you find any bugs, have suggestions or anything else please contact me via Twitter or per Mail. Please check out my other Repos as well, they might be handy to you. For any questions and/or improvement suggestions just contact me via twitter or mail.
Twitter: @eglaubauf
Web: www.elmar-glaubauf.at

You can’t perform that action at this time.