Solved Can't get assets info in c4dpy

I have tried c4d.documents.GetAllAssets method to list assets, it works well in C4D Gui.

9f321283-1195-46a8-a948-3bc1ddd36378-image.png

Then I tried with c4dpy, it was not working.

As c4d.LoadFile method is not supported in c4dpy, so I use c4d.LoadDocument method instead. Then GetAllAssets method returns an empty list.

How can I get the same result in c4dpy?

Here is what I've done in c4dpy:

63bcaf8d-45de-4f15-916c-dab83d3b3f9e-image.png

Hi,

I see you are using a pretty old version of cinema4D (R21). I was able to reproduce the issue on R22 but this is fixed on R24 and R25. (i couldn't tested it on R23)

Unfortunately, there's nothing to do.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

Hi,

I see you are using a pretty old version of cinema4D (R21). I was able to reproduce the issue on R22 but this is fixed on R24 and R25. (i couldn't tested it on R23)

Unfortunately, there's nothing to do.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

@m_magalhaes Oh, really? Thx so much!

Hello @sol87,

without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022.

Thank you for your understanding,
Ferdinand

MAXON SDK Specialist
developers.maxon.net