Introduced
4.0
Description
Sets a thumbnail from the input path by copying that file to the Thumbnails sub-folder under the current project and then setting that thumbnail on each object in the specified list.
Scripting Syntax
SetThumbnail( [InputObjs], [Pathname] )
Parameters
|
Parameter |
Type |
Description |
|
InputObjs |
List of elements (such as objects, models) on which to set the thumbnail Default Value: Selected objects |
|
|
Pathname [in/out] |
Path/File name of file to set as a thumbnail. Default Value: User is prompted for path/filename (with path set to the default Thumbnails sub-folder under the current project). |
Examples
VBScript Example
' This example demonstrates how to use the SetThumbnail command by opening ' one of the Softimage sample scenes and setting a thumbnail (from a file) on the ' Aibo object. ' NewScene , False SamplePath = Application.InstallationPath( siFactoryPath ) & "\Data\XSI_SAMPLES" OpenScene SamplePath & "\Scenes\dog.scn" SetThumbnail "Aibo", SamplePath & "\Thumbnails\XSIlogo32.bmp" ' ' If you wish you can now view that thumbnail by using a driven tab in a shelf view.
See Also
Autodesk Softimage v7.5