Save Project from a Plugin

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/03/2007 at 05:33, xxxxxxxx wrote:

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

---------
Hi there!

I am working on a Command Plugin, that should save the current project to a certain location (via Save Project) and then call a script on the saved scene file.

When I do CallCommand(12255) it does open a file selector. I'd not want this to happen, instead I'd like to specify the directory directly, without any further user interaction. Is this possible, or do I have to replicate the functionality of "Save Project"?

Timm

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/03/2007 at 06:10, xxxxxxxx wrote:

I think the SaveDocument function is what you are looking for.

cheers,
Matthias