export_nodes

export_nodes(file: unicode, nodes: List[rumba::Node], frames: List[float], ascii: bool = False, add_namespace: bool = True, progress: Callable[[float, unicode], bool] = <built-in method of PyCapsule object at 0x0000000006B2A420>) → None

Export the animation to a FBX file.

Only the animation of the animated parameters is exported to the FBX file. No Geometry is exported. This file can be used to import the animation back to Maya on the original rig.

Parameters:
  • file (str) – the FBX file path
  • nodes (list rumba.Node) – the nodes to export or an empty list to export everything.
  • frames (list of floats) – the frames to export or an empty list to export all the frame of the current animation range.
  • ascii (bool) – export an ascii FBX file if True, a binary file if False.
  • add_namespaces (bool) – if True, add a Maya style namsepace to each referenced nodes, like Maya does with references. The namespace is the name of the Asset root node.
  • progress (function progress(float ratio, str msg) -> bool) – an optional progression function. Same prototype than the rumbapy.Progress.update method.