amfIMovie GetWidth
Gets the width, in pixels, of the video.
Syntax
video_handle GetWidth
Description
Returns the width, in pixels, of the video specified by video_handle.
Example
video_handle GetWidth
Error
3 = HW_InvalidHandle
View new features for HyperWorks Desktop 2020.1.
Learn the basics and discover the workspace.
Discover HyperWorks Desktop functionality with interactive tutorials.
Start HyperWorks Desktop and configure the applications.
Learn how to create, open, import and save models.
Control the view and display of your model in the modeling window.
Use the Session Browser to view the current session and all the pages and windows it contains in a hierarchical display.
Publish your HyperWorks Desktop session to HTML, PowerPoint, or Report files.
Use the Parameters Browser to parameterize the contents of a session file or report template and automate a variety of analysis processes with the Parameters Browser.
Automate common workflows using the Process Manager or Automate tool.
Explore, organize and manage your personal data, collaborate in teams, and connect to other data sources, such as corporate PLM systems to access CAD data or publish simulation data.
Overview of external readers and the Altair Binary Format, the generic ASCII reader, running HyperWorks in batch mode, using Tcl/Tk commands, translators, and result math.
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 HyperWorks Desktop 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 HyperWorks. For example, the AddPage API can be used to add a page within the project.
Overview of object hierarchy for HyperView, HyperGraph, HyperWorks Desktop, 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 HyperWorks Tcl/Tk commands with this tutorial.
Tcl/Tk classes for the following HyperWorks Desktop applications.
Creates a new marker for the movie.
Calculates the tracking data, using the OpenCV tracking functionality, for the markers.
Remove the first marker from the tracking system.
Remove the second marker from the tracking system.
Gets the final time of the tracking system.
Gets the value of the flag denoting whether or not the connecting line of marker1 and marker2 is the X axis of the tracking system.
Gets the first marker ID of the tracking system.
Gets the list of the marker names available as the first point of the tracking system.
Gets the first marker name of the tracking system.
Gets the second marker ID of the tracking system.
Gets the list of the marker names available as the second point of the tracking system.
Gets the second marker name of the tracking system.
Gets the start time of the tracking system.
Gets the height, in pixels, of the video.
Gets a handle to the specified marker, to be used to access APIs available to markers.
Gets a handle to the specified marker, to be used to access APIs available to markers.
Gets a handle to the specified marker, to be used to access the APIs available to markers.
Gets the Length of the master measure in the selected unit.
Gets Length of the master measure in screen pixels.
Gets the unit type used by the master measure.
Returns the number of markers currently stored in the video.
Gets the value by which the video resolution will be divided in order to speed up tracking.
Returns the list of length units of the master measure.
Gets the width, in pixels, of the video.
Sets the display status for the master measure to off.
Returns whether the master measure is defined.
Returns whether the tracking system is defined.
Sets the value of the flag denoting whether or not the connecting line of the marker1 and marker 2 is the X axis.
Sets the x, y values of the first points of the tracking system.
Sets the x, y values of the second points of the tracking system.
Sets the length of the master measure in the selected unit.
Sets the x, y values of the end points of the master measure.
Sets the unit type of the master measure.
Sets the value by which the video resolution will be divided in order to speed up tracking.
Sets the display status for the master measure to on.
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 HyperView.
The Script Exchange is a database of freely accessible scripts posted by users and Altair engineers.
Overview of external readers and the Altair Binary Format, the generic ASCII reader, running HyperWorks in batch mode, using Tcl/Tk commands, translators, and result math.
The HyperWorks Desktop scripting interface is a set of Tcl/Tk commands that follow a simple and consistent syntax.
Tcl/Tk classes for the following HyperWorks Desktop applications.
Gets the width, in pixels, of the video.
Gets the width, in pixels, of the video.
video_handle GetWidth
Returns the width, in pixels, of the video specified by video_handle.
video_handle GetWidth
3 = HW_InvalidHandle
(c) 2020. Altair Engineering Inc. All Rights Reserved.