Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Can't get assets info in c4dpy

    Cinema 4D SDK
    python r21 sdk
    3
    4
    508
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sol87
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        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

        S 1 Reply Last reply Reply Quote 0
        • S
          sol87 @Manuel
          last edited by

          @m_magalhaes Oh, really? Thx so much!

          1 Reply Last reply Reply Quote 0
          • ferdinandF
            ferdinand
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post