rfm2  22.0
A python-based rewrite of RenderMan for Maya
 All Classes Namespaces Files Functions Variables Pages
rfm2.spool.utils Namespace Reference

Functions

def stash_xgen_files
 
def stash_scene
 

Function Documentation

def rfm2.spool.utils.stash_scene (   doSave = True)
Save current scene to a unique filename.

Args:
- doSave (bool) - whether to actually save the file on disk. Set to false if you
just want a unique filename

Returns:
- full path to the unique scene filename
def rfm2.spool.utils.stash_xgen_files (   stash_scene_name)
Save copies of xgen files for this scene
to stash_scene_name. Use this in conjunction
with the stash_scene function below

Args:
- stash_scene_name (str) - The name for the copied xgen files

Returns:
- a list of the copied xgen files, useful for clean up commands
at the end of renders