Skip to main content

Prime Mesh Python client library 2025 R1

CadReaderRoute

Last update: 17.07.2025

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

CAD Reader routes.

Methods

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

Attributes

Name Description
CadReaderRoute.real the real part of a complex number
CadReaderRoute.imag the imaginary part of a complex number
CadReaderRoute.numerator the numerator of a rational number in lowest terms
CadReaderRoute.denominator the denominator of a rational number in lowest terms
CadReaderRoute.PROGRAMCONTROLLED Denotes program controlled CAD reader route.
CadReaderRoute.NATIVE Denotes native CAD reader route.
CadReaderRoute.WORKBENCH Denotes WorkBench as CAD reader route.
CadReaderRoute.SPACECLAIM Denotes SpaceClaim as CAD reader route.
CadReaderRoute.DISCOVERY Denotes Discovery as CAD reader route.

Connect with Ansys