poISystem SetUserDefined
Converts a system to a user-defined system.
Syntax
system_handle SetUserDefined state
Application
HyperView Tcl Modify
Description
This command sets the system to be of the type "user-defined". This command is used for internal purposes only! It is highly recommended that it not be used in custom scripts, as it may become obsolete in future versions.
Inputs
- state
- This argument can have a value of "true" or "false".
Example
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]
model_handle GetSystemHandle sys1 "UserSystem 2"
# set it to true
sys1 SetUserDefined true
# set it to false
sys1 SetUserDefined false
hwi CloseStack
Errors
Returns a non-zero value if there is an error.