Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    With the new asset browser, API for the content browser is no longer possible?

    Cinema 4D SDK
    s24 python
    3
    9
    1.0k
    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.
    • B
      bentraje
      last edited by

      Hi,

      Just to confirm with the new asset browser, API for the content browser is no longer possible?
      Is this assessment correct?

      What's wrong with the asset browser, it modifies your existing asset to a database format.
      It's no go for me.

      Regards,
      Ben

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

        Hello @bentraje,

        thank you for reaching out to us. I am however a bit unsure how to read your question.

        Just to confirm with the new asset browser, API for the content browser is no longer possible?

        The legacy content browser has never been exposed to Python; which is the environment you flagged your posting as. The SDKBrowser, the bit weird name for the legacy content browser SDK interface, is still available in C++ (which is now a binding to the new system). One of the major entry points for the new asset system is AssetRepositoryInterface in C++.

        To my knowledge there were never plans to expose SDKBrowser to Python, do you have other information? You can of course still interact with lib4d files on a lower level in Python; when you happen to know how they are composed. But this is obviously not something for which we can provide support.

        What's wrong with the asset browser, it modifies your existing asset to a database format.

        I am also not sure how this is meant, since the content browser also did provide its own container format, i.e., lib4d. What is the distinction between a container format and a "database format" you would make?

        I am fairly sure that I do misunderstand you here in some way, but I currently do not see another way to interpret your posting. So, I would have to ask you to clarify the points where I did get you wrong.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        B John_DoJ 2 Replies Last reply Reply Quote 1
        • B
          bentraje @ferdinand
          last edited by bentraje

          Hi @ferdinand. Thanks for the response

          Oh gotcha. So we can access Content Browser through C++? Like select objects in content browser and open it in C4D?

          RE: its own container format, i.e., lib4d.
          You can view files in content browser with just fbx or obj files. It doesn't have to be in lib4d format.

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

            Hello @bentraje,

            I am so sorry, I did overlook your answer here somehow.

            So we can access Content Browser through C++? Like select objects in content browser and open it in C4D?

            The answer to that depends a bit on how you mean the quoted part. Just like for most other modules and libraries, the SDK does not expose the manger itself, but the logic behind it. So, the SDKBrowser cannot remote control the content browser manager, by for example, opening menus, pressing buttons, etc. in it. Instead it will provide an interface which exposes the important functionalities of the content browser on a more abstract level.

            There are quite a few types involved with Browser library, the most important ones in this case being the SDKBrowser type, which effectively acts like a database interface, and SDKBrowserContentNode, which is the major ressource element in such database. Via SDKBrowser you can add, remove or search for nodes and more. In case this did not clarify your questions, I would reccomend having a look at the type definitions in order to find out if it can do what you need.

            You can view files in content browser with just fbx or obj files. It doesn't have to be in lib4d format.

            So you want to use it like a file manger, i.e., without an index file, e.g. lib4d, which binds all the assets together? The asset browser works here indeed differently, but as I said, the content browser is still around, if you are after a file manger within Cinema 4D.

            Cheers,
            Ferdinand

            MAXON SDK Specialist
            developers.maxon.net

            1 Reply Last reply Reply Quote 0
            • B
              bentraje
              last edited by

              Thanks for the explanation.

              RE: So you want to use it like a file manger
              Yep yep. The main reason is we use several software and not only C4D. So having to build an asset system that only reads in C4D is limiting. It's a no go.

              Anyway, for those wondering, I found a way with the Megascan's Bridge as it accepts custom asset.

              Will close this thread accordingly.

              1 Reply Last reply Reply Quote 0
              • John_DoJ
                John_Do @ferdinand
                last edited by

                @ferdinand said in With the new asset browser, API for the content browser is no longer possible?:
                One of the major entry points for the new asset system is AssetRepositoryInterface in C++.

                Hi,

                I'm taking advantage of this topic to clarify something : if I've understood right is no way at the moment to access to the new Asset Browser with Python ?

                Thank you

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

                  Hello @John_Do,

                  this is to my knowledge correct, as just for the old Content Browser, there is no interface being provided in Python to either read from or write to the Asset Browser database.

                  Cheers,
                  Ferdinand

                  MAXON SDK Specialist
                  developers.maxon.net

                  John_DoJ 1 Reply Last reply Reply Quote 0
                  • John_DoJ
                    John_Do @ferdinand
                    last edited by

                    Thank you @ferdinand !

                    I forgot to ask something, do you know if Python support planned or is it unlikely ? Is there technical reasons behind the lack of Python support for Content Browser, and now Asset Browser ?

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

                      Hello @john_do,

                      the Asset Browser is an important feature for Maxon and we plan to build upon it. Despite that, we are not at liberty to currently disclose when we are going to provide Python bindings for the Asset Brower or if this will happen at all.

                      I understand that this is a unsatisfying answer, but it is unfortunately the best we can currently give.

                      Thank you for your understanding,
                      Ferdinand

                      MAXON SDK Specialist
                      developers.maxon.net

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