Skip to content

Exporting Importing Modes

Daniele Federico edited this page Sep 7, 2018 · 1 revision

Kiko works by default by matching items with same names. Names can be mangled by adding a prefix, a suffix and providing a dictionary of string replacements. Alternatively Kiko can also export hierarchies, for each selected item (or item passes as argument), kiko will export the selected object and all its children (please make sure to not select children of an already selected object).

On export you can specify if you want to export the hierarchy by passing True for the hierarchy argument of the the export_to_file method (KikoManager class).

On import two methods are available: hierarchy and name (name is the default).

You have also three modes for importing animation:

  • apply, deletes any animation before loading the kiko data
  • insert, shifts the current animation from the first frame of the kiko animation
  • replace, replace the animation in the frame range of the kiko animation

All modes are defined in the kiko/constants.py file under the IMPORT_METHODS class.