Hi,

Just to share a simple script (gave it another go) that toggles Off and On the Autosave pref (if originally On), fired by an "onBeginFrame" event, which essentially restarts the set Autosave counter when a region is drawn.

Initially, perhaps due to something I was missing (or a bug?) running -any- command other than LogMessage commands on the 'onBeginFrame' event would simply freeze everything.

But! starting jscript timers which in turn (indirectly) ran XSI commands seemed to work, so the Autosave counter is reset (to however amount of minutes) 1/10th of a second after drawing a region, or launching a preview.

So you can leave your regular Autosave pref to some 20-30 minutes, and never be bothered by your region getting interrupted due to a save happening midway, unless you are use to making rather big regions at high quality, in which case you may set higher autosave gaps accordingly.

For big frames in HiQ (at the end of lookdev) I personally only launch frame renders (which are unnaffected by autosaves anyways).

So let me know if any issue,
Cheers!


On 02/08/16 7:28, Fabian Schnuer Gohde wrote:
Hi,
I thought I'd ask in case anyone has run into this and has a workaround.

With heavy scenes I regularly get lock-ups with the render region is open and autosave kicks in. This is with redshift so I'm not sure if the problem is solely there.

Are there any hooks for a script or anything that surpress autosave or is there some way to do an entirely custom autosave that checks for regions before triggering?

Best regards,
Fabian

<?xml version="1.0" encoding="iso-8859-1"?>

<xsi_file type="Addon" xsi_version="11.0.525.0" syntax_version="1.0">
   <AddonVersion>2.0</AddonVersion>
   <Categories></Categories>
   <Nature>Auxiliary</Nature>
   <PlatForms></PlatForms>
   <Title></Title>
   <AuthorName>JS</AuthorName>
   <AuthorEMail></AuthorEMail>
   <Company></Company>
   <URL></URL>
   <Language></Language>
   <Summary></Summary>
   <Description>Reinitializes autosave countdown on render for an uninterrupted preview or RenderRegion.</Description>
   <Usage></Usage>
   <Image></Image>
   <InstallDir>js_LittlePieceOfPreviewingPeace</InstallDir>
   <DefaultDestination>5</DefaultDestination>
   <AddonItem filename="netview_js_LittlePieceOfPreviewingPeace.txt" type="Others" description="C:\Users\User\Autodesk\Softimage_2013\Addons\js_LittlePieceOfPreviewingPeace\netview_js_LittlePieceOfPreviewingPeace.txt" mode="438" id="1795">
ODgAAAAAAAAAAAAAeNodytEJgDAMBNBVbgKH6QbFnhKQi6RpC06v+P1eocnS
6mUPO+pI73USuw9l8yW4EFRj4PBAFYZMyYhxJxvu4DQufFb+Vniaa3sB8Rch
xw==
</AddonItem>
   <AddonItem filename="netview_js_LittlePieceOfPreviewingPeace.xml" type="Others" description="C:\Users\User\Autodesk\Softimage_2013\Addons\js_LittlePieceOfPreviewingPeace\netview_js_LittlePieceOfPreviewingPeace.xml" mode="438" id="1796">
NDIwAAAAAAAAAAAAeNpVUFtrgzAUfp6/4sx3r8PBirWUzY4NHWW2sLeS1VMb
yEViHPrvl+Bsu5ec73IuH0lXA2fwg6qjUizdyA/dVeak954HryhQEY01fI9Q
Ud4y/CqLF3mEM7IWlQ+QD3jsbcdGUSiJgiiC+GERPi2SGPJqB3EYPdrxfYcK
PM9sHjp6OFGGoMcWl+66rqV4EyfpgnWuQUwSP4kTkwe6UWgyHP6FzJy79NmE
a6Si2GVpcEOMtWVEb6Ti1rliY+yoZmjEqRph3euzVB+EY/ZepcENvZh5SSjL
Zm9i9rzkLRGjvf2HjLj/LIxgX0MKIpqeNPbeBRq56jknyg7OyA52U+NUnTSY
PypzfgF/CIUn
</AddonItem>
   <AddonItem filename="ReInitializeAutosaveTimerOnRender.js" destination="\Application\Plugins" type="Others" description="C:\Users\User\Autodesk\Softimage_2013\Addons\js_LittlePieceOfPreviewingPeace\Application\Plugins\ReInitializeAutosaveTimerOnRender.js" mode="438" id="1797">
MTM4MgAAAAAAAAAAeNqtVF1r20AQfHYg/2HRkwyx4jwHP7j0A5ckClYIfTNX
aaVekE7ibmVCTf57904nW3XkkoRig9Fod2Z29s55q1KStYIfyeqmFtl92RZS
hSDVRmMB0/Oz3fnZpHuKli39qjUsIPieBNcH/E5UaNE1rpQkKUr5G7m2NmKL
D7JCHas1qgx19GTAKsykGvbfiidHezXEpHLYfICtsZCGUH/ZoqIw0GiQep1Y
OTS4ACNj9Ykr1VfNvqYj/c7TOMnhFTNdzee2nQn4q5FarYB0i4y9WNh+8j7A
MTcb/+vyTOmZ+kC3QgPxdMumKWUqLEHkKlcqr00I/7AFbiLiYbgitB47xPvL
RWkGBk/ZOxCe9Lhzk19ewjckSFutuQjKuuBkCzAkCMFP0mjMzdE094wht6Ro
rn1ZrSX3Wn9ElmPRNUbMf6h+FGWLYWBSLRtbFaVVxqKBm7Hz84BVA5k04meJ
kNZVJVS2NyZziO/synMIjwQXdndT2Fnbk046eS0Nr7UvulQ5Z9f60jlxZjpH
bhdg050lHO9YcMtZ8ndovbll8pY8MkFiw4OKAiumi4Tf5DCXzz4SG4fGGSr3
ZIXHQtnrvi2W0w58Oj6cDxE4B/tw/8P9cDfktiX7t+Rv7KTfCi+Lao0QcxD7
Y8Ov3ncijg+zV+3sH9/FP4dsvds=
</AddonItem>
</xsi_file>
------
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to