Create tex Folder in project directory



  • On 31/08/2015 at 02:48, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R16 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Greetings !

    I have a .c4d project in <project_path>/my_project.c4d.
    I want to transfer some textures to <project_path>/tex folder but it doesn't always exist.
    Are there C4D calls to create the standard asset directory or do i have to do it manually with c++ calls ?

    thnx.



  • On 31/08/2015 at 03:48, xxxxxxxx wrote:

    "Save as Project..." or "Save Project with Assets..." is the standard C4D procedure that does this.  You should use SaveProject() in C++.



  • On 01/09/2015 at 05:33, xxxxxxxx wrote:

    Hi,

    you can also manually create the folder structure using the functions from GeFile. And BaseDocument provides GetDocumentPath().



  • On 03/09/2015 at 12:53, xxxxxxxx wrote:

    Thank you very much for your responses !


Log in to reply