Skip to main content

Prime Mesh Python client library 2026 R1

HexCoreTransitionLayerType

Last update: 02.04.2026

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

Handle size transition of hex cells.

Methods

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

Attributes

Name Description
HexCoreTransitionLayerType.real the real part of a complex number
HexCoreTransitionLayerType.imag the imaginary part of a complex number
HexCoreTransitionLayerType.numerator the numerator of a rational number in lowest terms
HexCoreTransitionLayerType.denominator the denominator of a rational number in lowest terms
HexCoreTransitionLayerType.HANGINGNODES Allow different size hexes to be neighbors.
HexCoreTransitionLayerType.DELETESMALL Remove neighboring hexes of different size by deleting a layer of smaller cells.
HexCoreTransitionLayerType.DELETELARGE Remove neighboring hexes of different size by deleting a layer of larger cells.
HexCoreTransitionLayerType.DELETEBOTH Remove neighboring hexes of different size by deleting both smaller and larger cell layers.

Connect with Ansys