hwIPage GetAverageAnimationFramerate

Gets the average animation framerate, in frames per second.

Syntax

page_handle GetAverageAnimationFramerate

Application

HyperWorks Tcl Query

Description

This command gets the average animation frame rate. This is the same value that is shown in the Frame Rate window that’s visible when you click the Frame Rate button on the Animation Controls panel.

Example

To get the average across the part state from contour control:
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]
page_handle GetAverageAnimationFramerate
hwi CloseStack

Error

This command should always return a floating point value.