Skip to main content

Prime Mesh Python client library 2025 R1 SP01

LSDynaFileFormatType

Last update: 17.07.2025

class ansys.meshing.prime.LSDynaFileFormatType(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Provides the format type to write the LS-DYNA file.

Methods

Name Description
LSDynaFileFormatType.conjugate Returns self, the complex conjugate of any int.
LSDynaFileFormatType.bit_length(/) Number of bits necessary to represent self in binary.
LSDynaFileFormatType.bit_count(/) Number of ones in the binary representation of the absolute value of self.
LSDynaFileFormatType.to_bytes(/[, length, ...]) Return an array of bytes representing an integer.
LSDynaFileFormatType.from_bytes(/, bytes[, ...]) Return the integer represented by the given array of bytes.
LSDynaFileFormatType.as_integer_ratio(/) Return a pair of integers, whose ratio is equal to the original int.
LSDynaFileFormatType.is_integer(/) Returns True.

Attributes

Name Description
LSDynaFileFormatType.real the real part of a complex number
LSDynaFileFormatType.imag the imaginary part of a complex number
LSDynaFileFormatType.numerator the numerator of a rational number in lowest terms
LSDynaFileFormatType.denominator the denominator of a rational number in lowest terms
LSDynaFileFormatType.REGULAR Option to select 8-char width format to write ids for elements and nodes.
LSDynaFileFormatType.I10 Option to select 10-char width format to write ids for elements and nodes.

Connect with Ansys