OptimizationMaterial#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.OptimizationMaterial(matForOptimization: Ansys.Common.Interop.DSObjectsAuto.IDSOptimizationMaterial)#

Bases: object

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

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

baseMaterialId

baseMaterialId property.

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

property OptimizationMaterial.baseMaterialId: int | None#

baseMaterialId property.

Method detail#

OptimizationMaterial.Equals(obj: Any) bool#

Equals method.

OptimizationMaterial.GetHashCode() int#

GetHashCode method.

OptimizationMaterial.GetType() type#

GetType method.

OptimizationMaterial.ToString() str#

ToString method.