poITensorCtrl GetFont
Gets the font name being used to draw the tensor plot text in the graphics area.
Syntax
tensor_handle GetFont
Application
HyperView Tcl Query
Description
This command retrieves the name of the font being used to draw the tensor plot in the
graphics area.
Note: The value returned by this command can be used in the
SetFont command.
Example
To get the current tensor plot font
name:
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 GetResultCtrlHandle result_handle
result_handle GetTensorCtrlHandle tensor_handle
set font_name [tensor_handle GetFont]
hwi CloseStack
Errors
Returns an empty list if there is an error.