poIContourCtrl GetDiscreteColor
Gets the discrete color mode.
Syntax
poIContourCtrl_handle GetDiscreteColor
Application
HyperView Tcl Query
Description
Error
Returns true if discrete is enabled, otherwise false.
View new features for HyperWorks Desktop 2022.1.
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 averaging state for element results.
Gets the method by which elemental results are averaged to nodes.
Gets the list of possible averaging modes.
Gets the state of the average across parts.
Gets the current color mode.
Gets the contour corner data enabled state.
Gets the current plot style.
Gets the current data component for the given dimension.
Gets the current contour data type.
Gets the dimension state.
Gets the discrete color mode.
Gets the pool state, either enabled or disabled.
Gets the auto load/unload contour data state.
Gets the angle set for the feature angle average.
Gets the state of the feature angle average.
Gets the state of the "Ignore Flipped Normal" option set for the feature angle average.
Gets the interpolate color mode.
Gets the current layer's label.
Gets the legend control object for contouring.
Gets the layer list. Returns both Top/Bottom as multiple layers.
Retrieves the multiplication factor for the current contoured data type.
Gets the current contour offset value (lowest scale in the legend).
Gets a list of all the contour plot styles stored in the contour controller.
Gets the result system ID.
Gets the current shell layer label.
Gets the state of the "Show Midside Node Results" option for the contour control.
Gets the maximum threshold value of the contour.
Gets the threshold maximum enable state (true/false).
Gets the minimum threshold value of the contour.
Gets the threshold minimum enable state (true/false).
Gets a list of valid systems for the specified data type and components.
Gets the contour value filter string.
Gets the state of the contour value filter.
Gets the list of values associated with a node or element selection set.
Checks to see if the Top/Bottom mode is enabled in the contour controller.
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 contour controller settings and saves it with the given name.
Sets the averaging state for element results.
Sets the valid range for the nodal variation factor.
Sets the method by which elemental results are averaged to nodes.
Sets the state of the average across parts.
Sets the current color mode.
Enables contouring node on element data.
Sets the current plot style.
Sets the data component for a given component.
Sets the data type for the contour control.
Sets the dimension state; enabled or disabled.
Sets the discrete color mode for node-based coloring.
Sets the dimension state, either enabled or disabled.
Sets the auto load/unload contour data state.
Sets the angle for the feature angle average.
Sets the state of the feature angle average.
Sets the Top/Bottom mode in the contour controller.
Sets the Top/Bottom layer.
Sets the state of the "Ignore Flipped Normal" option for the feature angle average.
Sets the interpolate color mode for Interpolation/Modal animation mode.
Sets the current layer label.
Sets a multiplication factor for the current contoured data type.
Sets the offset value of the contour.
Sets the result system ID.
Sets the selected entities to be used by the contour control.
Sets the current shell layer. The scalar storage within HyperView can accept a shell layer or a derived quantity of all shell layers (max, min, or extreme).
Sets the state of the "Show Midside Node Results" option for the contour control.
Sets the maximum threshold value of a contour.
Sets the threshold maximum enable state value of a contour (true/false).
Sets the minimum threshold value of a contour.
Sets the threshold minimum enable state value of a contour (true/false).
Sets contour value filter value.
Sets the state of the contour value filter.
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.
Gets the discrete color mode.
Gets the discrete color mode.
poIContourCtrl_handle GetDiscreteColor
HyperView Tcl Query
Returns true if discrete is enabled, otherwise false.
© 2022 Altair Engineering, Inc. All Rights Reserved.