gxImportProject (string, struct tGXImportFlags) : string

Imports a project document from a file.


string - path of the project file. Use a slash '/' for directories, on all platforms!
tGXImportFlags - flags controlling the import process (no flags implemented yet).


string - identifier of a new document assigned to the project.


During the import process, the script outputs information about the progress.


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