
© Next Limit Technologies 2010
Maxwell Render 2.5 User Manual
Chapter 17. Appendix IV. Scripting References | 138
F.01 Scripting window
17.02 References
17.02.01 Maxwell Object
• Function: void openImage( string path );
• Description: Loads an image to the Maxwell Render GUI.
• Parameters: path: Path of the image. Read the relevant section of the manual for a
full description of supported image formats.
• Returned Value: Nothing.
• Function: void openMxi( string path );
• Description: Loads an MXI le to the Maxwell Render GUI and displays its parameters
in the UI.
• Parameters: path: Path of the MXI le.
• Returned Value: Nothing.
• Function: void openMxs( string path );
• Description: Loads an MXS le to the Maxwell Render GUI and displays its parameters
in the UI.
• Parameters: path: Path of the MXS le.
• Returned Value: Nothing.
• Function: void saveImage( string path );
• Description: Saves the current image buffer displayed in the GUI in the given image
le.
• Parameters: path: Path of the image le.
• Returned Value: Nothing.
• Function: int launchProcessAndWait (string execPath, array arguments);
• Description: Launches an external process with the given path and arguments and
waits until it nishes.
• Parameters:
-string execPath: Absolute path of the executable.
-array arguments: list of command line arguments.
• Returned INT: 0 if the process nished successfully and 1 if the process crashed.
Comentários a estes Manuais