poITensorCtrl SetColorMode
Sets the color mode for tensors.
Syntax
poITensorCtrl_handle SetColorModename
Application
HyperView Tcl Modify
Description
Errors
Returns 0 if successful, otherwise an error code.
View new features for HyperWorks Desktop 2019.
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 Session allows you to save the current session as an HTML file or a Microsoft PowerPoint file.
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.
Gets the averaging state.
Gets the color for a given tensor component.
Gets the color mode for tensors.
Gets the flag to indicate if corner data is requested.
Gets the current plot style.
Gets the current data component label.
Gets the current tensor data type.
Gets the dimension state, either enabled or disabled.
Gets the tensor control display mode.
Gets the display mode list used for drawing the tensors.
Gets the pool state, either enabled or disabled.
Gets the auto load/unload tensor data state.
Gets the font name being used to draw the tensor plot text in the graphics area.
Gets a handle to the poITextAttribute interface for the tensor plot text.
Gets the type of head that is being drawn on each tensor.
Gets a list of valid head types that can be used when calling SetHeadType.
Gets the current layer label.
Gets the legend control object for tensor control.
Gets the multiplier for tensor results.
Gets a list of all the tensor plot styles stored in the tensor controller.
Gets the result system ID.
Gets the scale value used to display tensors.
Gets the scale mode used to display tensors.
Gets the size of the selection set.
Gets the scale factor for the shear component.
Gets the state of the "Show Midside Node Results" option for the tensor control.
Gets the state of the tensor's prefix draw mode.
Gets the state of the tensor's value draw mode.
Gets the tensor format.
Gets the tensor 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 contour controller settings with a memorized plot style.
Captures the current tensor controller settings and saves it with the given name.
Sets the flag to indicate if results are element/node associated.
Sets the color for a given tensor component
Sets the color mode for tensors.
Sets the flag to indicate if corner data is requested.
Sets the current plot style.
Sets the data component for a given component label.
Sets the data type for the tensor control.
Sets the dimension state: enabled or disabled.
Sets the tensor control display mode.
Sets the dimension state, either enabled or disabled.
Sets the auto load/unload tensor data state.
Sets the font by name.
Sets the type of head that is drawn on each tensor.
Sets the current layer for the specified pool.
Sets the multiplier for tensor results.
Sets the result system ID.
Sets the scale value used to display tensors.
Sets the scale mode used to display tensors.
Sets the selected elements to be used by the tensor control.
Sets the scale factor for the shear component.
Sets the current shell layer.
Sets the state of the "Show Midside Node Results" option for the tensor control.
Sets the show prefix mode used for drawing tensor prefixes in the graphics area.
Sets the show value mode used for drawing tensor values in the graphics area.
Sets the tensor format.
Sets the tensor 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.
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.
Sets the color mode for tensors.
Sets the color mode for tensors.
poITensorCtrl_handle SetColorModename
HyperView Tcl Modify
Returns 0 if successful, otherwise an error code.
(c) 2019. Altair Engineering Inc. All Rights Reserved.