poIContourCtrl GetValueList
Gets the list of values associated with a node or element selection set.
Syntax
poIContourCtrl_handle GetValueList
Application
HyperView Tcl Query
Description
This command retrieves the list of values associated with a node or element selection
set.
Note: The selection set must correspond to the type of data being contoured. If the
entities being contoured are nodes, then a node selection set must be passed. If elemental
or node-on-element data is being contoured, then an element selection set must be passed.
Example
To get the list of values associated with a node or element selection
set:
set t [clock clicks]
hwi OpenStack;
hwi GetSessionHandle sessh$t
sessh$t GetProjectHandle projh$t
projh$t GetPageHandle pageh$t [projh$t GetActivePage]
pageh$t GetWindowHandle winh$t [pageh$t GetActiveWindow]
winh$t GetClientHandle animh$t
animh$t GetModelHandle modelh$t [animh$t GetActiveModel]
modelh$t GetResultCtrlHandle resh$t
resh$t GetContourCtrlHandle c$t
set sid [modelh$t AddSelectionSet element];
modelh$t GetSelectionSetHandle s$t $sid;
s$t SetSelectMode "all"
s$t Add all;
c$t GetValueList $sid
hwi CloseStack
Error
Returns 0 if successful, otherwise an error code.