Jump to main content
API, Reference Guides
API, Reference Guides

2024

Index
  1. Home
  2. API, Reference Guides

    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.

  3. Tcl/Tk Commands

    The application's scripting interface is a set of Tcl/Tk commands that follow a simple and consistent syntax.

  4. Tcl/Tk Commands

    Tcl/Tk classes for the following Altair HyperWorks applications.

  5. HyperView

  6. poIGraphicMaterial Class

  • Welcome
  • What's New

    View new features for version 2024.

  • Get Started

    Learn the basics and discover the workspace.

  • Tutorials

    Discover product functionality with interactive tutorials.

  • API, Reference Guides

    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

      Extensions are programs integrated with the application to enhance or extend the user experience.

    • External Readers and Altair Binary Format

      Altair Binary Format (ABF) is the standard binary format read by the program. A library called abflib allows you to create files in ABF.

    • Generic ASCII Reader

      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

      Batch mode allows you perform a series of operations outside the program interface.

    • External Resources

      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.

    • Python API

      The Python API documentation for HyperMesh applications.

    • Tcl/Tk Commands

      The application's scripting interface is a set of Tcl/Tk commands that follow a simple and consistent syntax.

      • Program with APIs for Beginners

        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.

      • Object Hierarchy

        Overview of object hierarchy for HyperView, HyperGraph, HyperMesh, MotionView, MediaView and TextView.

      • Tcl/Tk Classes

        Links to the introductory pages for the Tcl/Tk commands that can be used in HyperView, MotionView, HyperGraph, HyperGraph 3D, TextView and MediaView.

      • Script Use Cases

        Examples of script uses cases.

      • Tcl/Tk Example

        Learn more about Tcl/Tk with this basic example.

      • Program with Tcl/Tk Command Tutorials

        Learn more about programming with Tcl/Tk commands with this tutorial.

      • Tcl/Tk Commands

        Tcl/Tk classes for the following Altair HyperWorks applications.

        • Framework

        • MotionView

        • HyperView

          • Hotspot Finder API Structure

          • HyperView - MultiCore APIs

          • poI3DViewCtrl Class

          • poIAdvancedQuery Class

          • poIAssembly Class

          • poIBestView Class

          • poICFD Class

          • poICFD_rake Class

          • poICollisionCtrl Class

          • poICollisionSet Class

          • poIComplexCtrl Class

          • poIComponent Class

          • poIContourCtrl Class

          • poICrossSectionPlanar Class

          • poICrossSectionSet Class

          • poIExplosion Class

          • poIFBDCtrl Class

          • poIFLDCtrl Class

          • poIGraphicMaterial Class

            • poIGraphicMaterial GetAlpha

              Gets the material alpha transparency value.

            • poIGraphicMaterial GetAmbient

              Gets the ambient color of the material.

            • poIGraphicMaterial GetDiffuse

              Gets the diffuse color of the material.

            • poIGraphicMaterial GetEmission

              Gets the emissive color of the graphic material.

            • poIGraphicMaterial GetID

              Gets the graphic material ID.

            • poIGraphicMaterial GetLabel

              Gets the graphic material label.

            • poIGraphicMaterial GetMetallic

              Gets the metallic value of the graphic material.

            • poIGraphicMaterial GetRoughness

              Gets the roughness value of the graphic material.

            • poIGraphicMaterial GetShininess

              Gets the material shininess value.

            • poIGraphicMaterial GetSpecular

              Gets the specular color.

            • poIGraphicMaterial SetAlpha

              Sets the alpha transparency value.

            • poIGraphicMaterial SetAmbient

              Sets the ambient color of the material.

            • poIGraphicMaterial SetDiffuse

              Sets the diffuse color of the material.

            • poIGraphicMaterial SetEmission

              Sets the material emissive color.

            • poIGraphicMaterial SetLabel

              Sets the graphic material label.

            • poIGraphicMaterial SetMetallic

              Sets the metallic value of the graphic material.

            • poIGraphicMaterial SetRoughness

              Sets the roughness value of the graphic material.

            • poIGraphicMaterial SetShininess

              Sets the material shininess value.

            • poIGraphicMaterial SetSpecular

              Sets the specular highlight color of the graphic material.

          • poIImagePlaneCtrl Class

          • poIImagePlane Class

          • poIIsoValueCtrl Class

          • poILayerFilter Class

          • poILegend Class

          • poIMeasure Class

          • poIModel Class

          • poINote Class

          • poIPart Class

          • poIPartAssembly Class

          • poIPartSet Class

          • poIPost Class

          • poIPostManager Class

          • poIQueryCtrl Class

          • poIQueryDistanceRule Class

          • poIQueryExpressionRule Class

          • poIQueryExtremeRule Class

          • poIQueryIgnoreElemTypeRule Class

          • poIQueryIterator Class

          • poIQueryRule Class

          • poIQuerySetRule Class

          • poIRenderOptions Class

          • poIResultCtrl Class

          • poIResultMathCtrl Class

          • poIScalarDefine Class

          • poIScaleCtrl Class

          • poISCL Class

          • poISection Class

          • poISelectionSet Class

          • poIStressLinearizationCtrl Class

          • poISubcase Class

          • poISweepCtrl Class

          • poISymmetry Class

          • poISystem Class

          • poISystemCtrl Class

          • poITensorCtrl Class

          • poITensorDefine Class

          • poITextAttribute Class

          • poITracingCtrl Class

          • poITrackingSystem Class

          • poIVectorCtrl Class

          • poIVectorDefine Class

        • HyperGraph 2D

        • HyperGraph 3D

        • MediaView

        • TextView

        • HgTrans

        • TableView

        • Postquery Commands

        • Context Commands

        • Framework Commands

    • Translators

      Translators are utilities that are run from the command line of the operating system to convert various types of files into different formats.

    • Result Math

      XML commands in the Result Math Module.

    • HWC Console

      Record playback workflows in the application.

    • HyperMesh Report

    • Task Manager

      Use the Task Manager to load an XML file that defines tasks and their attributes.

    • HyperMesh

    • MotionView

    • Templex and Math Reference Guide

    • Script and Model Library

      The Script and Model Library is a database of freely accessible scripts and models posted by users and Altair engineers.

View All Altair HyperWorks Help

poIGraphicMaterial Class

Note: See Realistic Rendering and Material Appearance in the HyperView User's Guide for additional information.
  • poIGraphicMaterial GetAlpha
    Gets the material alpha transparency value.
  • poIGraphicMaterial GetAmbient
    Gets the ambient color of the material.
  • poIGraphicMaterial GetDiffuse
    Gets the diffuse color of the material.
  • poIGraphicMaterial GetEmission
    Gets the emissive color of the graphic material.
  • poIGraphicMaterial GetID
    Gets the graphic material ID.
  • poIGraphicMaterial GetLabel
    Gets the graphic material label.
  • poIGraphicMaterial GetMetallic
    Gets the metallic value of the graphic material.
  • poIGraphicMaterial GetRoughness
    Gets the roughness value of the graphic material.
  • poIGraphicMaterial GetShininess
    Gets the material shininess value.
  • poIGraphicMaterial GetSpecular
    Gets the specular color.
  • poIGraphicMaterial SetAlpha
    Sets the alpha transparency value.
  • poIGraphicMaterial SetAmbient
    Sets the ambient color of the material.
  • poIGraphicMaterial SetDiffuse
    Sets the diffuse color of the material.
  • poIGraphicMaterial SetEmission
    Sets the material emissive color.
  • poIGraphicMaterial SetLabel
    Sets the graphic material label.
  • poIGraphicMaterial SetMetallic
    Sets the metallic value of the graphic material.
  • poIGraphicMaterial SetRoughness
    Sets the roughness value of the graphic material.
  • poIGraphicMaterial SetShininess
    Sets the material shininess value.
  • poIGraphicMaterial SetSpecular
    Sets the specular highlight color of the graphic material.

© 2024 Altair Engineering, Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support | Cookie Consent