Skip to main content

Mechanical scripting interface

LifeUnitsType

Last update: 14.01.2025

class Ansys.Mechanical.DataModel.Enums.LifeUnitsType

Bases: enum.Enum

Specifies the Life Units Type.

Overview

Attributes

Name
Blocks_LC
Cycles_LC
Days_LC
Hours_LC
Minutes_LC
Months_LC
Seconds
UserDefined

Attribute detail

LifeUnitsType.Blocks_LC = 1

LifeUnitsType.Cycles_LC = 0

LifeUnitsType.Days_LC = 5

LifeUnitsType.Hours_LC = 4

LifeUnitsType.Minutes_LC = 3

LifeUnitsType.Months_LC = 6

LifeUnitsType.Seconds = 2

LifeUnitsType.UserDefined = 7