Softimage Tip #12: Getting the Softimage version from a particular .scn file.

Version Name: Softimage 2013
Version No: 11.0.525.0
Topic: ICE
Subtopic: Topology
Difficulty Level:


The following python code checks and returns the Softimage version from which a particular .scn file is created.
They have been modified from Stephen Blair’s and Jeremie Passerie’s solution.

import os
import xml.etree.ElementTree as etree

def scene_version(PATH_OF_THE_SCN):
	version = ""
	if os.path.exists(PATH_OF_THE_SCN+"toc"):
		tree = etree.parse(PATH_OF_THE_SCN+"toc")
		root = tree.getroot()
		version = root.get("xsi_version")
	else:
		p = subprocess.Popen( 'printver %s' % PATH_OF_THE_SCN, stdout=subprocess.PIPE )
		stdout = p.stdout.readlines()
		version = stdout[-1].split(':')[1].lstrip().rstrip()
	return version

print scene_version("C:\\Users\\ChrisChia\\Documents\\softimage\\projects\\ice_test\\Scenes\\point_index_to_location2012.scn")
Posted at 10pm on 05/14/12 | | Filed Under: Python in SI read on

Softimage Tip #11: Create Copies from Polygon Mesh Ice Node

Version Name: Softimage 2013
Version No: 11.0.525.0
Topic: ICE
Subtopic: Topology
Difficulty Level:

I am going to show how to use the Create_Copies_from_Polygon_Mesh ice node.
Here’s a simple example:
1. Create a grid (grid).
2. Create a texture projection on grid.
3. Connect an image to the diffuse color of the material.
4. Create an ice tree for grid.
5. Create ice tree for grid . See below:

(more…)

Posted at 11pm on 05/05/12 | | Filed Under: Tutorials read on

About Me

ChrisChia.info is my personal site where I wish to share all my knowledge in scripting languages; ActionScript, AJAX, ASP, ASPX, CSS, C++, C#, JavaScript, JAVA, PHP, Python, SQL, VBScript, XML.

3D Application:
Maya, Houdini, XSI, 3d Max
3D Scripting:
MEL, Python, Javascript, Maxscript
DataBase:
MySQL, Oracle 10G, MsSQL
DataBase Software Dev:
Oracle 10G Forms
High-Level Programming (App):
JAVA, C++, VB
Low-Level Programming:
Assembly in MIPS
Web Server Languages:
PHP, ASP, ASPX, JSP, XML(& XSLT)
Web Server:
Apache, Apache TomCat, IIS
Web Client Languages:
JavaScript, VBScript

The above are just some of the skill sets and programming knowledge which i’ve applied @ my work.
Updated: 03 Jun 2010

Professional Experience / Resume


Portfolio / Demoreel
(Only authorised and invited guests are allowed)


Popular Downloads





Recent 10 Posts


Recent 5 Comments

Portfolio & Tutorials

  • Miscellaneous (2)
  • News (3)
  • Tutorials (30)


  • Current Location : Singapore

    User is not currently on Google Latitude.


    My Flickr Photos

    BLUE SkyBLUE SKYILM

    View All Photos