hwILayer GetName

Gets the name of a layer.

Syntax

hwILayer_handle GetName

Application

Tcl Query

Description

Returns the name of the layer.

Example

To get the name of a newly-added layer:
hwi GetSessionHandle mySession
mySession GetProjectHandle myProject
set layerID [myProject AddLayer]
myProject GetLayerHandle myLayer $layerID
myLayer GetName

Error

Success (0) or an error code.