Displaying Scene Information
 
 
 

You can obtain important statistics for your scene and its elements in the Info Scene dialog box. This information can be helpful when evaluating a scene's complexity for the purpose of optimization.

To get scene information

  • Choose Edit Info Scene from the Edit panel on the main command panel or press Ctrl+Enter.

    • The Objects tab displays the total number of objects in the scene. You can also get totals for specific object types such as polygon meshes and surface meshes, models, lights, cameras, nulls, and chain elements.

    • The Components tab displays the total number of triangles, points, segments (edges), facets (polygons and surfaces in surface meshes), and particles in the scene.

    • The Animation tab displays the total number of constraints, mixers, and animation sources in the scene.

    • The Rendering tab displays the total number of render passes, materials, image sources and clips in the scene. The name of the current pass is also shown, as well as an estimate of the total memory consumption of the various image clips.

Displaying Information for Selected Scene Elements

You can also get specific information on your current selection in the Info Selection dialog box. Depending on the type of object you select, you can get a variety of information — even for single or multiple–selected objects.

To get information on a selection

  1. Select an object (or multiple objects) for which you want information.

  2. Choose Edit Info Selection from the Edit panel on the main command area or press Shift+Enter.

The Info Selection tab displays object name (which you can edit directly in the text box for a single selection); object type and family; number and type of components in the selection; whether it is a part of a hierarchy (name of children and parent object); and the name of the layer and partition in which it resides.

In the case of a multiple selection, the name field is shown as <multi> and the number of objects in the selection is displayed in the Selection field.

Methods for Getting Version Information

You can get the version of Softimage used to create a particular scene using various methods: on scene load, from the scene TOC, programmatically, or using the printver standalone utility.

In all cases, the version information is specified in the format of Major.Minor.BuildNumber.UpdateNumber. It is important to note that Softimage's internal version number may not match the one used in its product display name. For example, 8.0 is the internal version number for Autodesk Softimage 2010. Version 2010 is used in the product name for the splash screen and install path, but the scene information and the Softimage SDK will return the version number as 8.0.

Method 1: Getting Version Information on Scene Load

  1. Open a scene in Softimage.

  2. Click the script editor icon to open the script editor.

  3. In the script editor's history pane, look for the first INFO line logged to get version information.

    For example:

    ' INFO : 4034 - Loaded scene was created with build number: 8.0.114.0 - compatibility version: 801

For more information about using the script editor, see Using the Script Editor [SDK Guide].

Method 2: Getting Version Information from Scene TOC

In every scene TOC file, the root <xsi_file> element has a sub-element called xsi_version that indicates the version of Softimage used to create the associated scene file.

For example:

<xsi_file type="SceneTOC" xsi_version="8.0.114.0" syntax_version="2.0">

For more information about using the scene TOC file, see Getting and Setting Scene Data with the Scene TOC.

Method 3: Getting Version Information Programmatically

You can get version information for a scene programatically. If you are scripting with the Object Model, you can use the Application.Version method. If you are coding in C++, you can use Application.GetVersion to get the full version number at run-time.

To define the version number at compile-time, use the XSISDK_VERSION macro defined in xsi_version.h in the C++ SDK. With XSISDK_VERSION you can identify which version of the Softimage SDK you are compiling against. However, there is no build number or update number available as is the case with the run-time methods. For more information, see the SDK Guide.

Method 4: Getting Version Information with printver

You can get version information using the printver standalone which outputs the Softimage version used to last save a scene (.scn) file or an exported model (.emdl) file without having to open Softimage. For more information, see Getting Version Information From a Scene [Standalones].