How to Close Softimage with out a Saving Question?


#1

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…!


#2

Simple
do a newscene first and then quit

NewScene ,false
Quit


#3

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…


#4

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.


#5

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


#6

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…


#7

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.