Python "it" Scripting
	    	 | 
	
			Introduction
			This tutorial presents an example of a python 
			script - called SaveAll.py. The script should be executed after several images have been
			rendered into "it". All the images, except those named "_preview", will
			be saved as a numbered sequence of good quality jpegs in the users "HOME" folder.
			The images are saved in a date and time stamped directory, for example,
			  | 
	
| 			
			 
			If the reader has followed the recommendations of the tutorial 
			"RfM: Customizing" the 
			python script presented in this tutorial will have been installed
			in the users  Using the Custom "Save All" CommandThe next section explains how to install and load the python script. However, once that has been done the reader will have an extra "Save All..." menu item under the "Commands" menu - figure 1. 
			 The menu item will raise the dialog box shown next. 
			 After clicking the "Save All" button there will be a pause before an information dialoag opens - figure 3. If there are many images in the catalog it will take several seconds before the dialog appears. It will confirm where the images have been saved. 
			 Installing & Loading the Script
			Save the python script in your custom "it" scripts
			directory. For example, the "RfM: Customizing"
			tutorial recommends using this directory,
			  | 
	
			LoadExtension python "C:/Users/YOUR_NAME/Documents/maya/rfm_scripts/image_tool/SaveAll.py"  | 
	
| 
			 
			If the user has set an environment variable called   | 
	
			LoadExtension python "[GetEnv MAYA_USER_DIR]/rfm_scripts/image_tool/SaveAll.py"  | 
	
© 2002- Malcolm Kesson. All rights reserved.