hwISession GetMemoryInfo
Returns information on physical memory, virtual memory, and per process.
Syntax
hwISession_handle GetMemoryInfo
Application
HyperWorks Tcl Query
Description
Returns memory information.
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.
Adds a printer to the printer list.
Applies a report.
Capture the active window to an image file of a specific dimension.
Creates a movie file by animating the current page.
Creates a movie file by animating the current page, allowing you to first draw a box and select a sub-rectangle of the page for capture.
Captures the screen to a movie file.
Captures the entire desktop to an image file.
Captures a portion of the desktop to an image file.
Captures the current screen to an image file.
Captures the screen to an image file.
Captures the screen to an image file.
Captures the current screen to an image file of the specified pixel resolution.
Clears the list of registered external solvers.
Clears a visible wait mouse cursor.
Closes the session.
Deletes the given report.
Exports curves in the given format.
Returns the AMF export options interface handle for the session.
Finds the application title.
Obtain a handle to the session’s AVIExportOptions object
Lists the display names of the clients that are available.
Gets the client info handle.
Gets a list of all the currently available clients.
Returns the client manager interface object.
Returns the name of the active client.
Finds the current paper orientation.
Finds the current paper size.
Finds the current printer.
Returns the data file interface object for a given file.
Returns a formatted error message if an error has occurred since the last call to *GetError(). *GetError() clears the error message after being called.
Gets the export mode for the session.
Retrives a list of the names of all currently registered external readers.
Returns a Tcl list of registered external solvers of the form {name, path}.
Gets a list of all of the available fonts.
Returns the GIF export options interface handle for the session.
Obtain a handle to the session’s H3DExportOptions object.
Retrieves a list of the names of all currently registered import templates.
Obtain a handle to the session’s JPGExportOptions object.
Gets the library director handle.
Returns information on physical memory, virtual memory, and per process.
Returns memory usage in bytes (physical) and virtual.
Gets the menu controller handle.
Gets the message log handle.
Finds the number of report templates in the session.
Finds the height of the main page client area.
Finds the width of the main page client area.
Returns a list of all the paper size options.
Gets the preference manager handle.
Returns a list of printers that are available for use.
Returns the range of pages to be printed.
Returns the project interface object.
Returns the current recording mode.
Returns the current recording status.
Retrieves a list of the names of all currently loaded report templates.
Gets the report template handle.
Gets the session file name.
Returns the highest Spaceball button ID that can be mapped to a Tcl callback via the RegisterSpaceballCallback procedure.
Returns the highest Spaceball button ID that can be mapped to a Tcl callback via the RegisterSpaceballCallback procedure.
Accesses application information.
Gets a meta data associated with the session level.
Gets the XML file handle.
Indicates whether the image links in the exported PowerPoint file have embedded or linked images.
Indicates whether or not the specified client type is available in the current session.
Checks if the application is running in standalone mode.
Loads the given report.
Loads the given session file.
Creates a new project.
Posts and displays the indicated message in the message log.
Prints the current session.
Runs a Tcl/Tk script in a protected manner according to the specified execution mode.
Publishes the current session in either the HTML or XML format.
Registers the given external function.
Registers the given external reader.
Appends an external solver to the list of registered external solvers.
Registers the given import template.
Allows registration of Tcl callbacks for Spaceball button events.
Registers the given Templex function.
Removes a printer from the printer list.
Save the current session to a report template.
Writes the session to the given filename.
Sets the current paper orientation.
Sets the current paper size.
Sets the current printer.
Sets the export mode for the page.
Sets the range of pages to be printed.
Sets the session file name.
Associates a value to a variable on the session level.
Sets whether the images in the exported PowerPoint file have embedded links.
Shows a wait mouse cursor in the application.
Unloads a previously loaded XML file, freeing the associated memory.
Unregisters the given Templex function.
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.
Returns information on physical memory, virtual memory, and per process.
Returns information on physical memory, virtual memory, and per process.
hwISession_handle GetMemoryInfo
HyperWorks Tcl Query
Returns memory information.
(c) 2020. Altair Engineering Inc. All Rights Reserved.