    

 ## On this page

  

 

 # ScopeExpressionType

 Last update: 10.09.2025 

<a id="ansys.meshing.prime.ScopeExpressionType"></a>

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

ScopeExpressionType uses expression type to evaluate the scope.

### Methods

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

NameDescription[`ScopeExpressionType.real`](ansys.meshing.prime.ScopeExpressionType.real.md#ansys.meshing.prime.ScopeExpressionType.real)the real part of a complex number[`ScopeExpressionType.imag`](ansys.meshing.prime.ScopeExpressionType.imag.md#ansys.meshing.prime.ScopeExpressionType.imag)the imaginary part of a complex number[`ScopeExpressionType.numerator`](ansys.meshing.prime.ScopeExpressionType.numerator.md#ansys.meshing.prime.ScopeExpressionType.numerator)the numerator of a rational number in lowest terms[`ScopeExpressionType.denominator`](ansys.meshing.prime.ScopeExpressionType.denominator.md#ansys.meshing.prime.ScopeExpressionType.denominator)the denominator of a rational number in lowest terms[`ScopeExpressionType.NAMEPATTERN`](ansys.meshing.prime.ScopeExpressionType.NAMEPATTERN.md#ansys.meshing.prime.ScopeExpressionType.NAMEPATTERN)Use name pattern expression to evaluate scope.