On 10/07/2014 at 01:26, xxxxxxxx wrote:
Originally posted by xxxxxxxx
I think I had missed the comment above mine on that thread, but I tried it just now, and couldn't get it to work? I put a file in C:\Users<user>\prefs\python\python_init.py, and just put a print statement inside of it just now, and it doesn't seem to print anything to the Script Console when I open C4D.
The {USER_FOLDER} is not your home directory. It is your Cinema 4D preferences folder. On
Windows, it is located at {HOME}\AppData\Roaming\Maxon\Cinema4D_RXX_YYYYYYYY\
See http://www.maxonexchange.de/sdk/CINEMA4DPYTHONSDK/help/misc/faq.html?highlight=python_init
Originally posted by xxxxxxxx
One other question... What's up with all of the ID numbers? Is it a legacy leftover, or something to do with re-implementing the C++ code in python? It seems like variables should be able to be used to store pointers to things, without using ID numbers, and I've had ID numbers overlap and cause errors recently, and I was just curious about the logic for implementing ID numbers for everything.
Can you please give more information on the context? What ID numbers do you refer to?
What IDs have overlapped and what errors did you get?
-Niklas