poIModel GetUserDefinedSystemList
Gets a list containing all of the user-defined systems present in the current model.
Syntax
model_handle GetUserDefinedSystemList
Application
HyperView Tcl Query
Description
This command returns a list containing all of the user-defined systems. The list will be a sub-list, and each item will contain the system pool and the ID of the user-defined system.
Example
To get a user-defined system
list:
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]
# id string in the form of system pool name and id
set sys_list [model_handle GetUserDefinedSystemList]
hwi CloseStack
Errors
Returns a non-zero value upon failure.