Softimage Forum (Read Only)
Welcome to Autodesk’s Softimage Forums. Share your knowledge, ask questions, and explore popular Softimage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Determine Frame Range with Python

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
514 Views, 2 Replies

Determine Frame Range with Python

Hi.. Is there a way to determine the frame range of the current scene with python? I'd like to be able to store these values as variables for a script I am attempting to write. On Softimage 2012 SAP at the moment.

Cheers,

Skwisgaar
2 REPLIES 2
Message 2 of 3
Leendert68
in reply to: Anonymous

Here's a quick way, probably not the most elegant though...
PlayIn = Application.GetValue("PlayControl.In")
PlayOut = Application.GetValue("PlayControl.Out")
PlayRange = PlayOut - PlayIn
Application.LogMessage(PlayRange)


There probably is a direct way to get this through "PlayControl", but I can't find it quickly
Message 3 of 3
Anonymous
in reply to: Anonymous

That will work fine for my purpose.. Thank you kindly.

Skwisgaar

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report