poI3DViewCtrl SetInputSensorHeight
Sets the input sensor height of a stored view.
Syntax
poI3DViewCtrl_handle SetInputSensorHeightheight name
Application
HyperView Tcl Modify
Description
Sets the input value of the sensor height of a camera lens.
Inputs
- height
- Value in mm of a simulated lens sensor value (must be greater than 0). This value is typically the same as the manufacturer specifications of a camera lens.
- name
- String specifying the name of the view to be modified. The current view will be modified if a name is not specified.
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 GetViewControlHandle view_handle
view_handle SetInputSensorHeight 15.6 “View 1”
hwi CloseStack
Error
Returns HW_InvalidHandle if the view handle is invalid.
Returns HW_InvalidArgs if the named view does not exist or if the height is less than or equal to 0.