poIContourCtrl GetLayer
Gets the current layer's label.
Syntax
poIContourCtrl_handle GetLayer
Application
HyperView Tcl Query
Description
This command retrieves the current layer's label. If multiple layer is enabled, "Top/Bottom" is returned. If multiple layer is disabled, the regular layer name is returned.
Example
hwi OpenStack
hwi GetActivateClientHandle p
p GetActiveModelHandle m [p GetActivateModel]
m GetResultCtrlHandle r
r GetContourCtrlHandle c
c SetIfMultipleLayer true
c GetLayer – returns Top/Bottom
Error
Returns const char*.