How can I capture an image in hypermesh of the same size as that of displayed comp/assemblies in graphics area

asdsdsf
asdsdsf Altair Community Member
edited October 21 in Community Q&A

hm_getwindowarea interactive - This API enables the user to draw a  rectangle in the graphics area returning x, y coordinates of top left corner and width and height

These inputs can be used in [hm_windowtofile x y width height image.jpg ] to capture image.

I want to do the same automatically without user intervention.

How can I get these inputs for hm_windowtofile from the comp/assemblies displayed in graphics area

Tagged:

Answers