Skip to main content

Prime Mesh Python client library 2026 R1

SeparateBlocksFormatType

Last update: 02.04.2026

class ansys.meshing.prime.SeparateBlocksFormatType(*values)

Format type for separate element blocks. Only applicable when write_separate_blocks is true.

Methods

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

Attributes

Name Description
SeparateBlocksFormatType.real the real part of a complex number
SeparateBlocksFormatType.imag the imaginary part of a complex number
SeparateBlocksFormatType.numerator the numerator of a rational number in lowest terms
SeparateBlocksFormatType.denominator the denominator of a rational number in lowest terms
SeparateBlocksFormatType.STANDARD Standard format for element blocks.
SeparateBlocksFormatType.COMPACT Compact format for element blocks with reduced columns.

Connect with Ansys