PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > AddLayer
AddLayer

Description:

Add a new layer to the project passing in the name of the new layer

Syntax:

“AddLayer layerName"

where:

layerName is a string for the name- cannot include spaces

Return:

"1" if successful, "0" if not successful.

Failure returns

- name if not unique

Example:

"AddLayer layerName"

return "1"