[Sidefx-houdini-list] hou.hipFile.save() issues

Tom Nixon tnixon at laika.com
Mon Apr 6 17:38:24 EDT 2009


Thank you for the suggestion.

He tried setting _HIP_SAVETIME and the backup procedure. Those changes did not fix the behavior though.

I'd say he was pulling his hair out, but he doesn't have any.

Thanks,
Tom


----- Original Message -----
From: "David Johnson" <daveinengland at gmail.com>
To: sidefx-houdini-list at sidefx.com
Sent: Thursday, April 2, 2009 10:16:50 AM GMT -08:00 US/Canada Pacific
Subject: Re: [Sidefx-houdini-list] hou.hipFile.save() issues

Could you add a backup procedure to your custom function? Then you could
control how it's done. And could your custom function set the HIP_SAVETIME
variable to the current time? I'm thinking that since you are telling it to
explicitly save the file, that you're bypassing the built-in process, you
may need to explicitly do these other housekeeping tasks too.

Dave

On 3/20/09, Tom Nixon <tnixon at laika.com> wrote:
>
> I'm forwarding this on for a colleague who is having trouble getting on the
> listserv:
>
> Hey All,
>
> I've tried posting my question on the forums, but have't got any responses,
> so a friend suggested I use this mailing list.
>
> Here is the issue....I'm hoping one of you all can shed some light:
>
>
> I've got a python method that basically just does a hou.hipFile.save(), and
> i'm just passing in the path on where to save the file.
>
> I've run into a problem where, if you use this save method that I've
> written, and then hit ctrl-s (file save), it brings up a houdini dialog,
> asking you where do you want to save the file. So it's not remembering or
> storing the name of the hipFile, or some houdini environment variable or
> something...
>
> Alternatively, if I just do a regular saveAs, then hitting ctrl-s does what
> it's supposed to do and saves over the file. So the only thing that I have
> noticed that the regular file-save is doing that my custom save method is
> not....is creating backups automatically.
>
> Anyone run into any issues like this before?
>
> after running my save method command i do a:
> setenv -l
>
> I also run the same setenv command after a regular file-saveAs just to see
> if there is some variables that aren't being set after my save method, but
> it returns the same variables and definition except for the
> _HIP_SAVETIME...which has been updated.
>
> Anyone else experience something like this before?
>
> - mike fortner
> LAIKA R&D TD
>
> _____________________________________________________________________
> The information contained in this message and its attachments is
> confidential and proprietary to LAIKA, Inc.  By opening this email
> or any of its attachments, you agree to keep all such information
> confidential and not to use, distribute, disclose or copy any part
> of such information without the prior written consent of LAIKA,
> Inc.  If you are not the intended recipient of this message, any use,
> distribution, disclosure or copying of such information is prohibited.
> If received in error, please contact the sender.
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>
_______________________________________________
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

_____________________________________________________________________
The information contained in this message and its attachments is
confidential and proprietary to LAIKA, Inc.  By opening this email
or any of its attachments, you agree to keep all such information
confidential and not to use, distribute, disclose or copy any part
of such information without the prior written consent of LAIKA,
Inc.  If you are not the intended recipient of this message, any use,
distribution, disclosure or copying of such information is prohibited.
If received in error, please contact the sender. 




More information about the Sidefx-houdini-list mailing list