poIPartSet GetAttribute
Gets the value of a given attribute of the part set.
Syntax
poIPartSet_handle GetAttribute attr
Application
HyperView Tcl Query
Description
This command retrieves the value of the given attribute of the part set. The list of valid attributes to query can be obtained using poIPartSet_handle GetAttributeList.
Example
To get the Name for part set 4:
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 GetPartSetHandle part_set_handle 4
part_set_handle GetAttribute name
hwi CloseStack
Errors
Returns an empty string if an error occurs.