PDA

View Full Version : How to Close Softimage with out a Saving Question?


islaSyr
08-04-2009, 11:56 AM
Hello..
I have a little problem..

I need to Close Softimage by a command, When I've used (Quit) command a question of Save confirmation appeard every time..

So how can I force Softimage to close without this question ?

Maybe if I could reach PID of Softimage in Windows I can kill its process by a "Taskkill" batch command..

Any Suggestions??

Thanks..!

luceric
08-05-2009, 01:36 AM
Simple
do a newscene first and then quit


NewScene ,false
Quit

islaSyr
08-12-2009, 10:27 AM
Sorry Sir..
But I've tried it before

it'll not work..

because the quit command is just a command and Softimage will ask you to save or not

It's not that SIMPLE..!

Thank you..

CiaranM
08-12-2009, 12:25 PM
Hi,
if you just run that code from the script editor, XSI will ask if you want to save the contents of the editor. So, just use that code in a script button (drag and drop to a toolbar). When you press that button everything will quit as you expected.

luceric
08-12-2009, 01:12 PM
Indeed, the Quit command will not ask confirmation for a new scene.
if it does, perhaps you have an event that is dirtying the scene's state on NewScene

islaSyr
08-13-2009, 08:19 AM
I really have some newScene Events..!
when I do a new scene some actions is being taken..

so I have to stop them temporarly and close the Soft and re-enable them..

Thanks people for your help..

CGTalk Moderation
08-13-2009, 08:19 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.