poIContourCtrl GetFeatureAngleAverage
Gets the angle set for the feature angle average.
Syntax
contour_handle GetFeatureAngleAverage
Application
HyperView Tcl Query
Description
This command returns the angle set (in degrees) for the feature angle average.
Example
To get the feature angle in
contour:
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 GetContourCtrlHandle contour_handle
# Get the feature angle
if {[contour_handle GetFeatureAngleAverageEnableState] == true } {
set feature_angle [contour_handle GetFeatureAngleAverage]
}
hwi CloseStack
Error
Returns a angle of zero if the state cannot be applied.