save Method

Saves the caller node and all its children as a fly layer, under the name name (the user does not have to specify the “.fly” extension).

save(name);

 

Parameter

Description

name

File name

Return Value

If the method succeeds, the return value is true. If the method fails, the return value is false. SGWorld.lastError contains the failure reason.

Remarks

The file is saved on the local machine in the application data folder. The user cannot specify his own path. Doing so will cause the method to fail.