I tried bytearray(bpy.context.object) and byte(bpy.context.object) and I get object is not iterable.

I tried getting the id(bpy.context.object) and I get an id, I just don't know what to do with it to get the full object in memory.

I want to get the full object from memory so I can send it over the network as a byte array and re-assemble it on another computer.

I can send byte arrays over the network just fine, the problem is getting Blender objects into byte arrays. How do I do that?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.