Re: SaveSceneAs strange behaviour

2017-03-01 Thread Tim Bolland
Thanks guys, it was the valid project scenario. Something had changed recently 
in our job structure and the system file was missing.

Cheers!

Tim



From: softimage-boun...@listproc.autodesk.com 
<softimage-boun...@listproc.autodesk.com> on behalf of gareth bell 
<garethb...@outlook.com>
Sent: 01 March 2017 11:35
To: Official Softimage Users Mailing List. 
https://groups.google.com/forum/#!forum/xsi_list
Subject: Re: SaveSceneAs strange behaviour


maybe this helps - are you trying to save outside an xsi project folder?


https://groups.google.com/forum/#!topic/xsi_list/NNzL0eShsfI

[http://www.google.com/images/icons/product/groups-128.png]<https://groups.google.com/forum/#!topic/xsi_list/NNzL0eShsfI>

Alternatives to SaveSceneAs (always pops up a 
dialog)<https://groups.google.com/forum/#!topic/xsi_list/NNzL0eShsfI>
groups.google.com
Posted 9/29/11 8:58 AM, 6 messages




From: softimage-boun...@listproc.autodesk.com 
<softimage-boun...@listproc.autodesk.com> on behalf of Tim Bolland 
<tim_boll...@hotmail.co.uk>
Sent: 01 March 2017 11:11:50
To: softimage@listproc.autodesk.com
Subject: SaveSceneAs strange behaviour


Hi, I had a script that would compile a filepath and run a SaveSceneAs command 
with that filepath correctly parsed.  It used to be that the command in the 
script would save with the correctly and the PPG used to generate the filepath 
would close. Now however when I run the Application.SaveSceneAs() command, I 
get a file pop-up opening on the correct directory with the correct name. This 
is really frustrating because I already know the location and the name and I 
just want it to save, I shouldn't need to reaffirm this.


What's strange is this script didn't use to do this before, it would work 
correctly and just save. Any ideas what's going on?


sCompiledPath = "...\\sceneName.scn"

Application.SaveSceneAs(sCompiledPath, 0)


Regards,


Tim

--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: SaveSceneAs strange behaviour

2017-03-01 Thread gareth bell
maybe this helps - are you trying to save outside an xsi project folder?


https://groups.google.com/forum/#!topic/xsi_list/NNzL0eShsfI

[http://www.google.com/images/icons/product/groups-128.png]

Alternatives to SaveSceneAs (always pops up a 
dialog)
groups.google.com
Posted 9/29/11 8:58 AM, 6 messages




From: softimage-boun...@listproc.autodesk.com 
 on behalf of Tim Bolland 

Sent: 01 March 2017 11:11:50
To: softimage@listproc.autodesk.com
Subject: SaveSceneAs strange behaviour


Hi, I had a script that would compile a filepath and run a SaveSceneAs command 
with that filepath correctly parsed.  It used to be that the command in the 
script would save with the correctly and the PPG used to generate the filepath 
would close. Now however when I run the Application.SaveSceneAs() command, I 
get a file pop-up opening on the correct directory with the correct name. This 
is really frustrating because I already know the location and the name and I 
just want it to save, I shouldn't need to reaffirm this.


What's strange is this script didn't use to do this before, it would work 
correctly and just save. Any ideas what's going on?


sCompiledPath = "...\\sceneName.scn"

Application.SaveSceneAs(sCompiledPath, 0)


Regards,


Tim

--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: SaveSceneAs strange behaviour

2017-03-01 Thread Martin Chatterjee
Hey Tim,

I just checked, and SaveSceneAs works as expected on my side.

The only scenario I can think of where this might happen is if your
compiledPath is either illegal or does not point into a valid Softimage
project.
But if I understood you correctly that can not be your issue as the Save
Dialog opens in the correct target folder and also lets you save
successfully, right?

If you just execute those two lines directly from the Script Editor does it
also behave in the same way?


Cheers, Martin


--
   Martin Chatterjee

[ Freelance Technical Director ]
[   http://www.chatterjee.de   ]
[ https://vimeo.com/chatterjee ]

On Wed, Mar 1, 2017 at 12:11 PM, Tim Bolland 
wrote:

> Hi, I had a script that would compile a filepath and run a SaveSceneAs
> command with that filepath correctly parsed.  It used to be that the
> command in the script would save with the correctly and the PPG used to
> generate the filepath would close. Now however when I run the
> Application.SaveSceneAs() command, I get a file pop-up opening on the
> correct directory with the correct name. This is really frustrating because
> I already know the location and the name and I just want it to save, I
> shouldn't need to reaffirm this.
>
>
> What's strange is this script didn't use to do this before, it would work
> correctly and just save. Any ideas what's going on?
>
>
> sCompiledPath = "...\\sceneName.scn"
>
> Application.SaveSceneAs(sCompiledPath, 0)
>
>
> Regards,
>
>
> Tim
>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.