I found an option "Fit Selected" in HyperView 2023.1 that allows me to fit a selected component within the view. While I can access this functionality through the view handle, I'm unable to find the corresponding API in the documentation to select the component first. I've attempted various API methods for component selection without success.
Could you please assist me in identifying the correct API to select components so I can utilize this "Fit Selected" feature?
I tried the below API for Fit Selected
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle
project_handleproject_handle GetPageHandle
page_handle [project_handle GetActivePage]
page_handle GetWindowHandle
window_handle [page_handle GetActiveWindow]
window_handle GetViewControlHandle view_handle
view_handle FitSelected
hwi CloseStack
But to use this api, we need to select the component first. Please share me the way to select the component so that i can use the above code to fit the selected component.