Encoding a BaseTag/BaseObject
Helper last edited by
On 05/09/2014 at 19:00, xxxxxxxx wrote:
I am writing a text file in Python, and want to use either Python's Pickle or JSON. When writing a tags locator, I get an error "is not JSON serializable"...
If I make it a string, then it will write. But then when I read the file, It reads a string and not the object..
Here's what I need to write:
<c4d.BaseTag object called 'Test/Test' with ID 10000001at 0x11bcf38f0>
Any ideas? I just need to save references of an object to a text file, then call it.