*enumeration()
Creates an enumeration.
Syntax
*enumeration (enum name, str1, str2,...)
Type
HyperMesh Card Previewer Command
Inputs
- enum name
- The name of the enumeration.
- str1, str2
- The members of the enumeration.
View new features for version 2023.1.
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 Python API documentation for HyperView and HyperGraph.
The application's scripting interface is a set of Tcl/Tk commands that follow a simple and consistent syntax.
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.
These provide an overview of all additions, updates, and changes to the HyperMesh APIs for each release.
Details on the core data that can be queried and manipulated.
This API allows external applications to link HyperMesh as a library and provides a limited set of functions and structures to access specific functionality.
FE input readers are C programs that read information from ASCII or binary finite element models files into the HyperMesh database.
Details on the HMASCII format and associated commands.
This section contains details on general HyperWorks scripting concepts, along with documentation on the Tcl commands that can be used to query and modify the database and GUI.
Solver templates are ASCII data files containing HyperMesh Template Language Commands and HyperMesh Template Language Functions.
The HyperMesh Card Image panel is used to define solver specific data and review card information. The format of the cards and the menus in the panel are defined in the export template, using HyperMesh Card Preview Commands.
Indicates the beginning of the Control Cards list.
Indicates the beginning of the description used for the card previewer.
Repeats execution of a block of code a specified number of times.
Repeats execution of a block of code a specified number of times.
Specifies the name and tag attribute for a Control Card.
Indicates the end of the Control Cards list.
Indicates the ending of the description used for the card previewer.
Terminates the code block to be executed by *beginrepeat().
Terminates the code block to be executed by *beginrepeat2d().
Creates an enumeration.
Used to specify that each real, integer, and string attribute is modified as per the *menudefaultvalue().
Initializes an attribute to a specified value upon creation of an entity.
Sets the value of attribute.
The *menucase() command specifies a block of card image template commands that are executed when an attribute has the value matching the *menucase() command.
Sets the value of the local counter.
Modifies an attribute field so that it has an on/off status.
Used to define the false block of a *menuif() statement.
Used to define the end of an *menuif() block.
Modifies an attribute field so that the contents of the selection must be of the specified entity type in the HyperMesh database.
Modifies an attribute field so that the selection must be an ID of an entity of a specified type in the HyperMesh database.
Modifies an attribute field so that its value is displayed as and restricted to an enumeration's values.
Places a formatted value from the database into the card image.
Used to conditionally execute branches in the card image.
Sets the initial values of an attribute.
Sets the initial value of an attribute if the attribute does not currently exist on the entity.
Modifies an attribute field so that a selection must be made from a list.
Ends the current line in the card image.
Specifies that the value of an attribute can only be 0 or 1.
Terminates a *menuoption() or *menuoptionenum() command.
Specifies that the value of an attribute is defined by a previously defined *enumeration() command.
Sets the initial value of a pointer.
Modifies an attribute field so that it alerts you when a value is outside of a specified range.
Displays a string in the card image.
Sets a variable to a specific value.
Specifies that the card image definition is in a following block.
Specifies a counter to store the current repeat value for a *beginrepeat() or *beginrepeat2d() command.
Sets the right margin so that no field goes beyond in a *beginrepeat()/*endrepeat() block.
The list of undocumented card previewer commands.
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.
Solver templates are ASCII data files containing HyperMesh Template Language Commands and HyperMesh Template Language Functions.
Creates an enumeration.
Creates an enumeration.
*enumeration (enum name, str1, str2,...)
HyperMesh Card Previewer Command
© 2023 Altair Engineering, Inc. All Rights Reserved.
Intellectual Property Rights Notice | Technical Support | Cookie Consent