hwILayer GetVisiblity
Gets the visibility of a layer.
Syntax
hwILayer_handle GetVisibility
Application
Tcl Query
Description
Returns:
- True
- If the layer is displayed.
- False
- If the layer is not displayed.
Example
To determine the visibility of a newly-added
layer:
hwi GetSessionHandle mySession
mySession GetProjectHandle myProject
set layerID [myProject AddLayer]
myProject GetLayerHandle myLayer $layerID
myLayer GetVisibility
Errors
None.