is it possible to make a keyboard shortcut for read/write cache file or anything else in bifrost?

is it possible to make a keyboard shortcut for read/write cache file or anything else in bifrost?

thomaslisle1309
Advocate Advocate
794 Views
5 Replies
Message 1 of 6

is it possible to make a keyboard shortcut for read/write cache file or anything else in bifrost?

thomaslisle1309
Advocate
Advocate

is it possible to make a keyboard shortcut for read/write cache file or anything else in bifrost?

0 Likes
795 Views
5 Replies
Replies (5)
Message 2 of 6

Christoph_Schaedl
Mentor
Mentor

I do not understand what you are trying to do.

Would you like to create a cache node with a shortcut?

----------------------------------------------------------------
https://linktr.ee/cg_oglu
0 Likes
Message 3 of 6

thomaslisle1309
Advocate
Advocate

no i dont want to make a cache node - I want to change my cache node from read to write  or from write to read with a keyboard shortcut.   Hope that makes sense cheers thomas

0 Likes
Message 4 of 6

sepu6
Advisor
Advisor

As far as I know, you can not set shortcuts in BF at the moment.
But you could use the lazy mode, which is supposed to do that by itself, it basically can switch from "read" to "write" based on whether the files exist on disk.

- You could also look at the wedge cache node and see how it is implemented there, which is probably very similar to how the lazy mode works. 

0 Likes
Message 5 of 6

thomaslisle1309
Advocate
Advocate

Im only interested it turning it to read or write as that's what I do hundreds of times when testing lazy mode is no good  as its not overwriting the old cache. I did wonder if I could make it an input and set a maya key to change the value 

 

many thanks thomas

0 Likes
Message 6 of 6

sklauss
Enthusiast
Enthusiast

yes it is possible. change the mode on the compound and look inside the script editor. you will see the vnn command. you can create a mel/python script and create a maya hotkey or a shelf button. i guess you would have to think about whether you want to hard code it for your particular graph or query the selected file_cache node.

0 Likes