Jump to content

How to force a hython script to run


catchyid

Recommended Posts

Hi,

I am loading assets using a python script node (see image). The assets are being cached on the farm and the first time the script runs, most probably, the cache would be empty hence the python code loads nothing (makes sense),  after a while the cache gets created, HOWEVER, the script python node does not re-run and gives the previous cached result (which is empty cache) --> so, to force manual reevaluation of the code, I just go inside the script, add a space or do any modification and rerun the code and the now the cache gets loaded!

Any ideas how to designate that this python script should be always run and not use the previous cached result? I am also open for a better approach if it exists :)

 

cheersforce_python_to_run.thumb.png.43ad6aacb9b8f99f1f2e3430a3fa067c.png

Edited by catchyid
typo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...