Saving project with assets

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

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

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.