poIModel GetFailureEntityCountList
Gets the failed element counts for a given element configuration and simulation.
Syntax
poIModel_handle GetFailureEntityCountList elemtypelist simstep
Application
HyperView Tcl Query
Description
This command retrieves the failed element counts for a given element configuration and simulation, for example {count, element type}.
Inputs
- elemtypelist
- An element configuration list, for example "quad4 hex8" or "104, 208". Default is all element types.
- simstep
- A simulation list in the form of "subid simid".
Example
To get the value filter string in
contour:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
# Failure count for all element types
set failurelist [model_handle GetFailureEntityCountList]
#failure count for quad and hex type elements
set failurelist [model_handle GetFailureEntityCountList "quad4 hex8"]
#failure count for all element types and for subcase 1/step id 10
set failurelist [model_handle GetFailureEntityCountList "all" "1 10"]
hwi CloseStack
Errors
Returns an empty string if there is an error.