Skip to main content

Prime Mesh Python client library 2025 R2 SP01

BodyQueryType

Last update: 16.10.2025

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

Indicates type of entity to query in part.

Methods

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

Attributes

Name Description
BodyQueryType.real the real part of a complex number
BodyQueryType.imag the imaginary part of a complex number
BodyQueryType.numerator the numerator of a rational number in lowest terms
BodyQueryType.denominator the denominator of a rational number in lowest terms
BodyQueryType.ALL Returns all entities in part.
BodyQueryType.FREE Returns only free entities in part.
BodyQueryType.NONFREE Returns entities associated with non-free body in part.

Connect with Ansys