Skip to main content

Prime Mesh Python client library 2025 R1

ScopeEntity

Last update: 17.07.2025

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

ScopeDefinition uses entity type to scope entities.

Methods

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

Attributes

Name Description
ScopeEntity.real the real part of a complex number
ScopeEntity.imag the imaginary part of a complex number
ScopeEntity.numerator the numerator of a rational number in lowest terms
ScopeEntity.denominator the denominator of a rational number in lowest terms
ScopeEntity.FACEZONELETS Evaluate scope to get the face zonelets.
ScopeEntity.EDGEZONELETS Evaluate scope to get the edge zonelets.
ScopeEntity.FACEANDEDGEZONELETS Evaluate scope to get face and edge zonelets.
ScopeEntity.VOLUME Evaluate scope to get volumes.

Connect with Ansys