hwIPage SetActiveWindow
Sets the active window.
Syntax
hwIPage_handle SetActiveWindow index
Application
Tcl Modify
Inputs
- index
- The window index.
- 1
- Base
Error
Success (0) or an error code.
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.
Adds a reference to an existing layer to the page.
Adds a window synchronization group.
Copies a window.
Forces each window to draw itself.
Returns the active window index.
Indicates whether the active window on the page is expanded or not.
Returns the page animation mode.
Returns an animator object.
Gets the average animation framerate, in frames per second.
Returns the correlation difference for this page.
Gets the current animation frame rate, in frames per second.
Finds the default page layout.
Gets the page’s ID.
Gets whether a page is written out when running hwlSession_handle PublishSession.
Returns a list of layer ID's referenced by this page.
Returns the page layout type.
Gets the sync block ID of the master, if it is set.
Gets the model step state.
Returns the number of layers referenced by this page.
Returns the number of sync blocks associated with this page.
Returns the number of windows.
Gets the percent of maximum speed currently used by the animator.
Returns an animator object for a single sync block in the page.
Returns a list of the sync blocks on this page.
Gets the flag that indicates whether the animation is enabled for the sync block.
Gets the offset for the sync block identified by the sync block ID.
Gets the scale of the sync block identified by the sync block ID.
Gets the sync table generation policy.
Gets the animation sync tolerance for the page.
Returns the page title.
Returns the page title visibility flag.
Gets a handle to an hwIFont interface for the font of the page title.
Returns the window associated with the given window index.
Gets a list of the window IDs.
Gets a list of window IDs in the synchronization group.
Gets the current state of an existing window synchronization group.
Returns the current animator's animation state.
Combines windows.
Pastes a previously copied window.
Removes a window synchronization group.
Resets the average animation frame rate tracker.
Sets the active window.
Expands or reduces the active window on the page.
Enables the animation frame rate tracker.
Set the page’s animation mode.
Sets whether or not the page is exported.
Sets the page layout type.
Sets the new master sync block ID and recalculates the master sync table. This command is ignored if the sync table generation policy is not set to MASTER_BLOCK first.
Sets the model step state to on or off.
Sets the percent of maximum speed to be used by the animator.
Enables or disables animation for the model or page area containing the sync block ID identified.
Sets a new offset for the sync block identified by the sync block ID
Sets a new scale for the sync block identified by the sync block ID.
Sets the sync table generation policy.
Sets the animation sync tolerance for the page.
Sets the animation sync tolerance for the page in seconds and nanoseconds for better accuracy.
Sets the page title.
Sets whether or not the page title is displayed.
Changes the state of an existing window synchronization group.
Starts the animation.
Stops the animation.
Swaps the contents of two windows on a page.
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.
Sets the active window.
Sets the active window.
hwIPage_handle SetActiveWindow index
Tcl Modify
Success (0) or an error code.
© 2023 Altair Engineering, Inc. All Rights Reserved.
Intellectual Property Rights Notice | Technical Support | Cookie Consent