TargetAnsysVersion#

class ansys.meshing.prime.TargetAnsysVersion(*values)#

Target ANSYS release version for CDB export compatibility. Determines which features and formats are available.

Methods

TargetAnsysVersion.conjugate(/)

Returns self, the complex conjugate of any int.

TargetAnsysVersion.bit_length(/)

Number of bits necessary to represent self in binary.

TargetAnsysVersion.bit_count(/)

Number of ones in the binary representation of the absolute value of self.

TargetAnsysVersion.to_bytes(/[, length, ...])

Return an array of bytes representing an integer.

TargetAnsysVersion.from_bytes(/, bytes[, ...])

Return the integer represented by the given array of bytes.

TargetAnsysVersion.as_integer_ratio(/)

Return a pair of integers, whose ratio is equal to the original int.

TargetAnsysVersion.is_integer(/)

Returns True.

Attributes

TargetAnsysVersion.real

the real part of a complex number

TargetAnsysVersion.imag

the imaginary part of a complex number

TargetAnsysVersion.numerator

the numerator of a rational number in lowest terms

TargetAnsysVersion.denominator

the denominator of a rational number in lowest terms

TargetAnsysVersion.V231

Target Ansys 2023 R1.

TargetAnsysVersion.V232

Target Ansys 2023 R2.

TargetAnsysVersion.V241

Target Ansys 2024 R1.

TargetAnsysVersion.V242

Target Ansys 2024 R2.

TargetAnsysVersion.V251

Target Ansys 2025 R1.

TargetAnsysVersion.V252

Target Ansys 2025 R2.

TargetAnsysVersion.V261

Target Ansys 2026 R1.

TargetAnsysVersion.LATEST

Alias for the latest supported Ansys release (default).