@m_magalhaes Oh, really? Thx so much!
Latest posts made by sol87
-
Can't get assets info in c4dpy
I have tried
c4d.documents.GetAllAssetsmethod to list assets, it works well in C4D Gui.
Then I tried with c4dpy, it was not working.
As
c4d.LoadFilemethod is not supported in c4dpy, so I usec4d.LoadDocumentmethod instead. ThenGetAllAssetsmethod returns an empty list.How can I get the same result in c4dpy?
Here is what I've done in c4dpy:

-
RE: R21 c4dpy LoadFile always return False
What I'm actually doing is making a python script to load render settings such as
frame range,resolutions,cameras should be renderedfrom c4d files.Is there any shortcut to figure it out?
-
RE: R21 c4dpy LoadFile always return False
Hi @ferdinand ,
Thx so much for your help. But I still I still haven't succeeded to load the file.
I tried
LoadDocumentmethod like this, but it returnsNone.>>> d = documents.LoadDocument( 'test.c4d', c4d.SCENEFILTER_OBJECTS | c4d.SCENEFILTER_MATERIALS | c4d.SCENEFILTER_MERGESCENE, thread=None) >>> print(d) NoneAm I using the loadflags in wrong way?
-
R21 c4dpy LoadFile always return False
What I was doing is just open a c4d file via python. The file is so simple as there is only a cube.
It works in C4D Console,

But not working in c4dpy.

Am I missing something? Pls give me a hint.