A program to recognize and reward our most engaged community members
Hi,
i would like to screen shot a higher resolution image from Hypermesh. Is there a way to achieve it? Currently i set up the JEPG quality to 99 already.
Thanks,
Miao
if you open the tcl console (from view menu) in either HW or HV
Then you can do it from there with the 'capturescreentosize' command:
E.g. to capture screen to a JPEG type file called MyHiResPicture.jpg with a resolution of 3200 X 2400 pixels and quality level 100:
enter following:
hwi GetSessionHandle sess; sess CaptureScreenToSize jpeg E:\MyHiResPicture.jpg 3200 2400 100;<br /><br />
There are a number of similar hwi commands for getting the whole desktop, a window or animations, you can find the documentation for them in the help
e.g. https://2021.help.altair.com/2021.2/hwdesktop/hwd/topics/reference/tcl/hwisession_capturescreentosize.htm
if you open the tcl console (from view menu) in either HW or HV Then you can do it from there with the 'capturescreentosize' command: E.g. to capture screen to a JPEG type file called MyHiResPicture.jpg with a resolution of 3200 X 2400 pixels and quality level 100: enter following: hwi GetSessionHandle sess; sess CaptureScreenToSize jpeg E:\MyHiResPicture.jpg 3200 2400 100;<br /><br /> There are a number of similar hwi commands for getting the whole desktop, a window or animations, you can find the documentation for them in the help e.g. https://2021.help.altair.com/2021.2/hwdesktop/hwd/topics/reference/tcl/hwisession_capturescreentosize.htm hwISession CaptureActiveWindow hwISession CaptureAnimation hwISession CaptureAnimationByArea hwISession CaptureAnimationByAreaPercentage hwISession CaptureAnimationByWindow hwISession CaptureDesktop hwISession CaptureDesktopByArea hwISession CaptureScreen hwISession CaptureScreenByArea hwISession CaptureScreenByAreaPercentage hwISession CaptureScreenToSize
Thanks Paul! i tried it but couldn't find the .jpg in the folder.
CaptureScreenToSize jpeg <span style="color: #ff0000;">E:\MyHiResPicture.jpg</span> 3200 2400 100;<br /><br /><span style="font-family: arial, helvetica, sans-serif;">I believe E:\MyHiResPicture.jpg referring to the folder path. Is it correct?</span>
Thanks Paul! i tried it but couldn't find the .jpg in the folder. CaptureScreenToSize jpeg <span style="color: #ff0000;">E:\MyHiResPicture.jpg</span> 3200 2400 100;<br /><br /><span style="font-family: arial, helvetica, sans-serif;">I believe E:\MyHiResPicture.jpg referring to the folder path. Is it correct?</span>
Yes, that's correct, you can set this to any path and filename you like (that you have write permissions for) if you don't have an E: drive then the above exact syntax wouldn't work