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
    • Recent
    • Tags
    • Users
    • Login

    Saving project with assets

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 288 Views
    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.
    • H Offline
      Helper
      last edited by

      On 10/04/2013 at 00:26, xxxxxxxx wrote:

      Hey guys,

      I'm creating a plugin, that uploads files to a renderserver for rendering with the netrender.
      The problem is, that in the SDK i can't find how to save the project WITH ASSETS.

      like:

        
      `c4d.documents.SaveDocument`( _doc_ , _name_ , _SOME_FLAG_FOR_SAVING_WITH_ASSETS_ , _format_ )  
      

      Unfortunatly that doesn't exist (http://chicagoc4d.com/C4DPythonSDK/modules/c4d.documents/index.html?highlight=savedoc#c4d.documents.SaveDocument)

      Do i have to upload all the textures separatly with GetAllTextures()? Because then there are still proxies and stuff - Not very elegant!

      Thanks in advance!

      Aurel

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 10/04/2013 at 23:54, xxxxxxxx wrote:

        I apparently have to save all the assets manually.

        Does anyone know how i can get a list of all the xrefs in my scene?

        Thanks

        Aurel

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 11/04/2013 at 00:46, xxxxxxxx wrote:

          you have to do it manually. walk through your document and check every c4datom with
          checktype.

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