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

Description:

Remove a layer by passing in the name of layer to be removed.

Syntax:

"RemoveLayer layerName"

 where:

 layerName is a string for the name

Return:

“1” if successful, or  "0" if not successful.

Failure returns

- name of layer not removed

Example:

"SetLayerByName NewLayer 2 PointName"

return 25