Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Help: Need to Refresh texture in Rhino. Server path doesn't auto update

$
0
0

I have made a script that draws and overwrites a PNG file, this updates instantly on my computer and in Rhino. So everything is fine for me, but my customer works on a server with a looong path and for some reason Rhino doesn’t register the change when the PNG is saved, so it keeps on showing the old version. If we save and revert (or close Rhino and open again) then the updated PNG is shown correctly.

I understand that this is a limitation when working on a server for a to me unknown reason, but is there a way we can script a workaround to automatically re-read the PNG, or refresh it?

Saving and reverting is working, but it isn’t a smooth operation to do a lot of times.

(And if I go into the material, remove the texture and assign it again Rhino still shows the old PNG, probably because it has the same name and uses it from memory)

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles