On 08/11/2014 at 09:21, xxxxxxxx wrote:
Hi
I'm trying to figure out something very simple - how with a python tag - to have it create a cube in the scene upon initialisation - so that it persists, and can be accessed globally. The problem I'm having is that the external renderer is recreating another cube by reinitialising the document.
This is the example code - how would I change it ? Thanks..
import c4d
#Welcome to the world of Python
doc.InsertObject(c4d.BaseObject(c4d.Ocube))
def main() :
pass