Anvil Blender Uplink connection

Ok, I have found a solution, it seems that for some reason bpy.context doesn’t work remotely. But bpy.data gives me access to all the scene data directly, and I can get access to everything.

But I just realised a problem.

I am using a @anvil.server.callable function. I want to be able to give this script to multiple people, to let the control blender from their browser.

Is there any way to let each user call their own @anvil.server.callable function? From their instance of blender? Or is there any other better way to do this?

EDIT:

Nevermind, I have found this other thread that provides a solution by using custom function names based on the ID:

1 Like