    

 ## On this page

  

 

 # LabelToZoneMethod

 Last update: 16.10.2025 

<a id="ansys.meshing.prime.lucid.LabelToZoneMethod"></a>

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

Provides for creating zones from labels.

### Methods

NameDescription[`LabelToZoneMethod.conjugate`](ansys.meshing.prime.lucid.LabelToZoneMethod.conjugate.md#ansys.meshing.prime.lucid.LabelToZoneMethod.conjugate)Returns self, the complex conjugate of any int.[`LabelToZoneMethod.bit_length`](ansys.meshing.prime.lucid.LabelToZoneMethod.bit_length.md#ansys.meshing.prime.lucid.LabelToZoneMethod.bit_length)(/)Number of bits necessary to represent self in binary.[`LabelToZoneMethod.bit_count`](ansys.meshing.prime.lucid.LabelToZoneMethod.bit_count.md#ansys.meshing.prime.lucid.LabelToZoneMethod.bit_count)(/)Number of ones in the binary representation of the absolute value of self.[`LabelToZoneMethod.to_bytes`](ansys.meshing.prime.lucid.LabelToZoneMethod.to_bytes.md#ansys.meshing.prime.lucid.LabelToZoneMethod.to_bytes)(/\[, length, ...\])Return an array of bytes representing an integer.[`LabelToZoneMethod.from_bytes`](ansys.meshing.prime.lucid.LabelToZoneMethod.from_bytes.md#ansys.meshing.prime.lucid.LabelToZoneMethod.from_bytes)(/, bytes\[, ...\])Return the integer represented by the given array of bytes.[`LabelToZoneMethod.as_integer_ratio`](ansys.meshing.prime.lucid.LabelToZoneMethod.as_integer_ratio.md#ansys.meshing.prime.lucid.LabelToZoneMethod.as_integer_ratio)(/)Return a pair of integers, whose ratio is equal to the original int.[`LabelToZoneMethod.is_integer`](ansys.meshing.prime.lucid.LabelToZoneMethod.is_integer.md#ansys.meshing.prime.lucid.LabelToZoneMethod.is_integer)(/)Returns True.### Attributes

NameDescription[`LabelToZoneMethod.real`](ansys.meshing.prime.lucid.LabelToZoneMethod.real.md#ansys.meshing.prime.lucid.LabelToZoneMethod.real)the real part of a complex number[`LabelToZoneMethod.imag`](ansys.meshing.prime.lucid.LabelToZoneMethod.imag.md#ansys.meshing.prime.lucid.LabelToZoneMethod.imag)the imaginary part of a complex number[`LabelToZoneMethod.numerator`](ansys.meshing.prime.lucid.LabelToZoneMethod.numerator.md#ansys.meshing.prime.lucid.LabelToZoneMethod.numerator)the numerator of a rational number in lowest terms[`LabelToZoneMethod.denominator`](ansys.meshing.prime.lucid.LabelToZoneMethod.denominator.md#ansys.meshing.prime.lucid.LabelToZoneMethod.denominator)the denominator of a rational number in lowest terms[`LabelToZoneMethod.SIMPLE`](ansys.meshing.prime.lucid.LabelToZoneMethod.SIMPLE.md#ansys.meshing.prime.lucid.LabelToZoneMethod.SIMPLE)Simple method for creating zones from labels.