poIContourCtrl SetFeatureAngleAverage
Sets the angle for the feature angle average.
Syntax
contour_handle SetFeatureAngleAverage
angleApplication
HyperView Tcl Modify
Description
This command sets the angle for the feature angle average. The specified angle should be between 0 and 180 degrees.
Inputs
- angle
- The angle for the feature angle average.
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 GetResultCtrlHandle result_handle
result_handle GetContourCtrlHandle contour_handle
# Set the feature angle for averaging
contour_handle SetFeatureAngleAverageEnableState true
contour_handle SetFeatureAngleAverage 45
hwi CloseStack
Error
Returns an error if the value state cannot be applied.