Script check if xsi is rendering?

2014-03-07 Thread Simon Reeves
Ive made a backup plugin/event that has been useful, though a bit scary as
it also autosave's the current scene before copying it elsewhere (it would
be good if there was a 'save scene as' command but I don't know of one?)

Anyway the main issue with it is that it interrupts if a render is in
progress, preview/frame/render region, so is there anyway to check if a
render is in progress? Or if the region is open/preview window open?

Cheers
Simon


Simon Reeves
London, UK
*si...@simonreeves.com si...@simonreeves.com*
*www.simonreeves.com http://www.simonreeves.com*
*www.analogstudio.co.uk http://www.analogstudio.co.uk*


Re: Script check if xsi is rendering?

2014-03-07 Thread Alexander Akbarov
There is some render events siOnBeginFrame, siOnBeginSequence and so on
http://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/index.html?url=si_cmds/cb_Event_OnEvent.html,topicNumber=si_cmds_cb_Event_OnEvent_html,hash=ctxt_siOnBeginSequenceI
didn't tried them, but maybe this is what you looking for.


2014-03-07 12:50 GMT+02:00 Simon Reeves si...@simonreeves.com:

 Ive made a backup plugin/event that has been useful, though a bit scary as
 it also autosave's the current scene before copying it elsewhere (it would
 be good if there was a 'save scene as' command but I don't know of one?)

 Anyway the main issue with it is that it interrupts if a render is in
 progress, preview/frame/render region, so is there anyway to check if a
 render is in progress? Or if the region is open/preview window open?

 Cheers
 Simon


 Simon Reeves
 London, UK
 *si...@simonreeves.com si...@simonreeves.com*
 *www.simonreeves.com http://www.simonreeves.com*
 *www.analogstudio.co.uk http://www.analogstudio.co.uk*



Re: Script check if xsi is rendering?

2014-03-07 Thread Simon Reeves
Ah I didn't think of events (funny as Im making an event) - looks useful
thanks.



Simon Reeves
London, UK
*si...@simonreeves.com si...@simonreeves.com*
*www.simonreeves.com http://www.simonreeves.com*
*www.analogstudio.co.uk http://www.analogstudio.co.uk*


On 7 March 2014 11:12, Alexander Akbarov wat...@gmail.com wrote:

 There is some render events siOnBeginFrame, siOnBeginSequence and so on
 http://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/index.html?url=si_cmds/cb_Event_OnEvent.html,topicNumber=si_cmds_cb_Event_OnEvent_html,hash=ctxt_siOnBeginSequenceI
  didn't tried them, but maybe this is what you looking for.


 2014-03-07 12:50 GMT+02:00 Simon Reeves si...@simonreeves.com:

 Ive made a backup plugin/event that has been useful, though a bit scary as
 it also autosave's the current scene before copying it elsewhere (it would
 be good if there was a 'save scene as' command but I don't know of one?)

 Anyway the main issue with it is that it interrupts if a render is in
 progress, preview/frame/render region, so is there anyway to check if a
 render is in progress? Or if the region is open/preview window open?

 Cheers
 Simon


 Simon Reeves
 London, UK
 *si...@simonreeves.com si...@simonreeves.com*
 *www.simonreeves.com http://www.simonreeves.com*
 *www.analogstudio.co.uk http://www.analogstudio.co.uk*





Re: Script check if xsi is rendering?

2014-03-07 Thread Martin
there is a save scene as command but it won't let you save outside a SI project 
structure. You can save your scene to a different name by adding a version 
number, date, or whatever.

It seems that we'll have a backup option without changing the current scene in 
the last version of SI.

Martin
Sent from my iPhone

 On 2014/03/07, at 19:50, Simon Reeves si...@simonreeves.com wrote:
 
 Ive made a backup plugin/event that has been useful, though a bit scary as it 
 also autosave's the current scene before copying it elsewhere (it would be 
 good if there was a 'save scene as' command but I don't know of one?)
 
 Anyway the main issue with it is that it interrupts if a render is in 
 progress, preview/frame/render region, so is there anyway to check if a 
 render is in progress? Or if the region is open/preview window open?
 
 Cheers
 Simon
 
 
 Simon Reeves
 London, UK
 si...@simonreeves.com
 www.simonreeves.com
 www.analogstudio.co.uk