Hyperview Animation (Frames/Sec) setting control
Hi All
Here is a snippet of code I am trying to work on:
page_handle GetAnimatorHandle animator_handle
animator_handle SetAnimationMode transient
page_handle SetPercentOfMaximumSpeed 0.01
page_handle StartAnimation
I need to create an animation gif at a particular (frame/sec). I am not able to get control over this option.
I tried SetPercentOfMaximumSpeed but it doesn't seem to work properly. Please help me to solve this issue.
Thanks
Saumya Mishra
Answers
-
Hi Saumya,
why don't you try using animationexport handles instead,
https://connect.altair.com/CP/kb-view.html?kb=84982
hwi GetSessionHandle mySessionName
mySessionName GetGIFExportOptionsHandle myGIF
myGIF SetSize 99
myGIF SetDelay 0.5
mySessionName CaptureAnimationByArea gif c:/temp/fun.gif 0 0 1050 450
mySessionName CaptureAnimationByArea gif c:/temp/fun_75.gif 0 0 1050 450 percent 75 75
0 -
Hi Livil
Thanks for the reply. The snippet of the code provided did the job, but is it possible to control start frame and end frame at the same time.
Thanks
Saumya Mishra
0