gxImportProject (string, struct tGXImportFlags) : string
Imports a project document from a file.
Parameters:
string - path of the project file. Use a slash '/' for directories, on all platforms!
tGXImportFlags - flags controlling the import process (no flags implemented yet).
Returns:
string - identifier of a new document assigned to the project.
Remarks:
During the import process, the script outputs information about the progress.
Example:
tGXImportFlags flags;
string sDocumentID = gxImportProject("demo1.gxb", flags);
print(message("New created document is: \"%name%\".") << sDocumentID);
// sDocumentID contains the name of the new document created.
See also:
gxExportProject, gxStartAction
► latest version online