poIPart GetAutoColor
Gets the part auto color index.
Syntax
poIPart_handle GetAutoColor
Application
HyperView Tcl Query
Description
This command returns the part auto color index.
Errors
None.
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.
APIs can be used to perform various actions in an application. For example, the AddPage API can be used to add a page within the project.
Overview of object hierarchy for HyperView, HyperGraph, HyperMesh, 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 Tcl/Tk commands with this tutorial.
Tcl/Tk classes for the following Altair HyperWorks applications.
Sets the part material to default values.
Gets the part auto color index.
Gets the part color index.
Gets the part default color index.
Gets the part display option setting.
Gets the list of part display modes.
Gets the Euler angles with respect to the transform set by the call to poIModel SetRelativeTo.
Gets the part's ID.
Gets the part's ID visibility.
Gets the part's label.
Gets the internal locator string for a part (for internal use only).
Gets the part material ID (zero if none assigned).
Gets the ID of the material related to a component.
Gets the name of the material related to a component.
Gets the part's mesh mode.
Gets the orientation in the local coordinate system.
Gets the origin with respect to the transform set by the call to poIModel SetRelativeTo.
Gets the ID for the part assembly that contains a component.
Gets the part's parent assembly ID.
Gets the part's polygon mode.
Gets the part's pool label.
Gets the part's pool type.
Gets the position in the local coordinate system.
Gets the ID for the property related to a component.
Gets the positions relative to the parent assembly, local or global.
Gets the scale factors for each coordinate axis.
Gets the shading mode for a specific part and overrides the global setting that was set with poIRenderOptions GetShadeMode.
Gets the part's tracing mode.
Gets the part type's string.
Gets the part's visibility.
Rotates the part about the axis and angle.
Sets the part's auto color index.
Sets the part's color index.
Sets the part default color index.
Sets the part's display mode.
Sets the Euler angles (Z-X-Z) with respect to the system defined by the call to poIModel SetRelativeTo.
Sets the part's ID visibility.
Sets the part's label.
Sets the part's material index.
Sets the part's mesh mode.
Sets the part's orientation in the local coordinate system by the given Euler angles ZXZ.
Sets the part origin in the local coordinate system by the given vector.
Sets the part's polygon mode.
Sets the part position in the local coordinate system by the given vector.
Sets positions relative to the parent assembly, local or global.
Sets the part scale factors for each axis.
Sets the shading mode. This command overrides the global setting that was set with poIRenderOptions SetShadeMode.
Sets the part's tracing mode.
Sets the part's visibility.
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.
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.
The application's scripting interface is a set of Tcl/Tk commands that follow a simple and consistent syntax.
Tcl/Tk classes for the following Altair HyperWorks applications.
Gets the part auto color index.
Gets the part auto color index.
poIPart_handle GetAutoColor
HyperView Tcl Query
This command returns the part auto color index.
None.
© 2023 Altair Engineering, Inc. All Rights Reserved.
Intellectual Property Rights Notice | Technical Support | Cookie Consent