hwIAnimator GetCurrentFrame
Gets the current frame index.
Syntax
hwIAnimator_handle GetCurrentFrame
Application
HyperView Tcl Query
Description
This command returns the current frame index.
Error
None.
View new features for version 2023.
Learn the basics and discover the workspace.
Discover product functionality with interactive tutorials.
Overview of external readers and the Altair Binary Format, the generic ASCII reader, running applications in batch mode, using Tcl/Tk commands, translators, and result math.
Extensions are programs integrated with the application to enhance or extend the user experience.
Altair Binary Format (ABF) is the standard binary format read by the program. A library called abflib allows you to create files in ABF.
A generic ASCII reader is now available which allows you to bring custom results directly into HyperView. The Altair ASCII format is useful for reading the results of any in-house or propriety codes which are saved in a generic format.
Batch mode allows you perform a series of operations outside the program interface.
External resources can be registered in preference files, session files, or Templex files. If an external resource is registered in a program session, it is automatically registered in the session file when the session is saved.
The application's scripting interface is a set of Tcl/Tk commands that follow a simple and consistent syntax.
APIs can be used to perform various actions in an application. For example, the AddPage API can be used to add a page within the project.
Overview of object hierarchy for HyperView, HyperGraph, HyperMesh, MotionView, MediaView and TextView.
Links to the introductory pages for the Tcl/Tk commands that can be used in HyperView, MotionView, HyperGraph, HyperGraph 3D, TextView and MediaView.
Examples of script uses cases.
Learn more about Tcl/Tk with this basic example.
Learn more about programming with Tcl/Tk commands with this tutorial.
Tcl/Tk classes for the following Altair HyperWorks applications.
Tests if the animator is at the model step.
Gets the current animator's bounce state.
Gets the current frame index.
Gets the current animation step index.
Gets the current time in seconds.
Gets the end frame index.
Gets the end time in seconds.
Gets the current animator's maximum time.
Gets the current animator's minimum time.
Gets the current mode (or type) of the current animator.
Gets the number of frames to be interpolated.
Gets the number of animation steps.
Returns the start frame of the animator.
Gets the start time in seconds.
Advances the animator to the next frame. If the animator is at the last frame, Next wraps to the first frame.
Advances the animator to the previous frame. If the animator is at the first frame, Previous wraps to the last frame.
Sets the current animator's bounce state.
Sets the current frame index.
Sets the current animation step index.
Sets the current time.
Sets the end time.
Sets the number of frames to be interpolated.
Sets the start frame of the animator.
Sets the start time.
Sets the current animator's use bitmap flag.
Translators are utilities that are run from the command line of the operating system to convert various types of files into different formats.
XML commands in the Result Math Module.
Record playback workflows in the application.
The Script and Model Library is a database of freely accessible scripts and models posted by users and Altair engineers.
Overview of external readers and the Altair Binary Format, the generic ASCII reader, running applications in batch mode, using Tcl/Tk commands, translators, and result math.
The application's scripting interface is a set of Tcl/Tk commands that follow a simple and consistent syntax.
Tcl/Tk classes for the following Altair HyperWorks applications.
Gets the current frame index.
Gets the current frame index.
hwIAnimator_handle GetCurrentFrame
HyperView Tcl Query
This command returns the current frame index.
None.
© 2023 Altair Engineering, Inc. All Rights Reserved.
Intellectual Property Rights Notice | Technical Support | Cookie Consent