poIVectorCtrl SetLayer
Sets the current shell layer.
Syntax
poIVectorCtrl_handle SetEnableState layer
Application
HyperView Tcl Modify
Description
Inputs
- layer
- The shell layer.
Errors
Returns 0 if successful, otherwise an error code.
View new features for HyperWorks Desktop 2022.
Learn the basics and discover the workspace.
Discover HyperWorks Desktop functionality with interactive tutorials.
Start HyperWorks Desktop and configure the applications.
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.
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.
Extensions are programs integrated with HyperWorks 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 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.
Gets the color for a given vector component.
Gets the color mode for vectors.
Gets the current plot style.
Gets the current data component label.
Gets the current vector data type label.
Gets the vector control display mode.
Gets a list of vector control display modes.
Gets the pool state, either enabled or disabled.
Gets an auto load/unload vector data state.
Gets the font name being used to draw the vector plot text in the graphics area.
Gets a handle to the poITextAttribute interface for the vector plot text.
Gets the current layer label.
Gets the legend control object for vector control.
Gets the multiplier for vector results.
Gets a list of all the vector plot styles stored in the vector controller.
Gets the result system ID.
Gets the scale value used to display vectors.
Gets the scale mode used to display vectors.
Gets the size of the selection set.
Gets the current layer label.
Gets the vector plot text color.
Gets the maximum threshold.
Gets the enable/disable state of the maximum threshold.
Gets the minimum threshold.
Gets the enable/disable state of the minimum threshold.
When nodal results are in use, multiple results may exist for nodes along part boundaries. In these cases, the returned list will contain the first nodal value encountered, while the nodal values for the other parts will be omitted.
Removes a plot style with the specified name.
Renames an existing/old plot style with a new name.
Resets the vector controller settings with a memorized plot style.
Sets the component color.
Sets the color mode for vectors.
Sets the current plot style.
Sets the data component for a given component label.
Sets the data type for the vector control.
Sets the vector control display mode.
Sets the dimension state, either enabled or disabled.
Sets the auto load/unload vector data state.
Sets the font by name.
Sets the current shell layer.
Sets the multiplier for the vector results.
Sets the result system ID.
Sets the scale value used to display vectors.
Sets the scale mode used to display vectors.
Sets the selected entities to be used by the vector control.
Sets the current layer.
Sets the vector plot text color.
Sets the maximum threshold.
Sets the enable/disable state of the maximum threshold.
Sets the minimum threshold.
Sets the enable/disable state of the minimum threshold.
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 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 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.
Sets the current shell layer.
Sets the current shell layer.
poIVectorCtrl_handle SetEnableState layer
HyperView Tcl Modify
Returns 0 if successful, otherwise an error code.
© 2022 Altair Engineering, Inc. All Rights Reserved.