Hi, how can I get a Scene File version with scripting?

I know that when I open a file, SI logs the scene version. I also know that
I can get the version opening the toc file with a text editor, and use
printver.exe to display the version in a Command Prompt. But I want to do
it from inside SI.

The reason is that I have to work with different SI versions for different
projects, and sometimes I open a file from SI 2010 in SI 2012 when I
shouldn't, and a few times I even save the file! and since SI have zero
forward compatibility I'm totally screwed when I do that. So I was thinking
in creating an event to check the file version and compare it with the SI
version and get a warning message if they don't match, but I have no idea
how to get a file's version.

Is it possible?

Thanks,

M.Yara

Reply via email to