Skip to main content

Mechanical scripting interface

OptimizationMaterial

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.OptimizationMaterial

Bases: object

OptimizationMaterial class.

Overview

Properties

Name Description
DensityMaximum Gets or sets the maximum density of the lattice for the OptimizationMaterial (between 0 and 1)
DensityMinimum Gets or sets the minimum density of the lattice for the OptimizationMaterial (between 0 and 1)
LatticeType Gets or sets the lattice shape for the OptimizationMaterial
Material Gets or sets the material it is based on (a Material, a string or an objectId can be used to set it)
VolumeFillingMethod Gets or sets if the filling method for the OptimizationMaterial

Property detail

property OptimizationMaterial.DensityMaximum : float | None

Gets or sets the maximum density of the lattice for the OptimizationMaterial (between 0 and 1)

property OptimizationMaterial.DensityMinimum : float | None

Gets or sets the minimum density of the lattice for the OptimizationMaterial (between 0 and 1)

property OptimizationMaterial.LatticeType : Ansys.Mechanical.DataModel.Enums.LatticeType | None

Gets or sets the lattice shape for the OptimizationMaterial

property OptimizationMaterial.Material : Any | None

Gets or sets the material it is based on (a Material, a string or an objectId can be used to set it)

property OptimizationMaterial.VolumeFillingMethod : Ansys.Mechanical.DataModel.Enums.FillingMethod | None

Gets or sets if the filling method for the OptimizationMaterial