poIModel GetReaderPropertyList
Returns the reader options which were used to read the model data.
Syntax
model_handle GetReaderPropertyList
Application
HyperView Tcl Query
Description
This command returns the user defined reader options which were set to read in the model
file. For example, while reading in a NASTRAN model file using the NASTRAN model reader, the
“Model Organization” property could be set to the value “By 1 Component”. In this case, the
command returns the name value pairs of the reader options as a flat list.
Note: This command
does not return the name value pairs as a list of lists.
Example
To retrieve the model reader
properties:
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]
set reader_options [model_handle GetReaderPropertyList]
hwi CloseStack
Errors
This command returns null if no reader option was used for that particular model. Some model readers do not have reader properties defined.