![]() To elaborate: I am sort of in the fase of getting my head around the whole basedocument/baselist/basecontainer thing, trying to figure out how those structures are really put together. Thank you very much for your answer ! It is exactly what I needed: it shows more things that I was looking for, and it raises more questions. This example will not work: import c4dĬ4d.gui.MessageDialog('The cache has not been built yet') The cache may not have been built already. I don’t know why, I wasn’t successful on modifieng the cache while rendering, yet.Īlso notice that I check if the object returned from GetCache() is None. Note that getting and setting the cache does only seem to work in the editor. Check this out:Ĭ4d.gui.MessageDialog('The cache hasn\'t been built yet.') ![]() ![]() () will not always return a polygon object. import c4dįor index in xrange(cube.GetPointCount()):īut, be carefull. It will return another c4d.BaseObject instance, exactly the one, the object is built from. The c4d.BaseObject class provides a method called GetCache().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |