PartCreationType
Last update: 10.09.2025class ansys.meshing.prime.PartCreationType(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Part Creation Type decides whether to create a part per CAD Model, Assembly, Part, Body.
Methods
| Name | Description |
|---|---|
PartCreationType.conjugate |
Returns self, the complex conjugate of any int. |
PartCreationType.bit_length(/) |
Number of bits necessary to represent self in binary. |
PartCreationType.bit_count(/) |
Number of ones in the binary representation of the absolute value of self. |
PartCreationType.to_bytes(/[, length, ...]) |
Return an array of bytes representing an integer. |
PartCreationType.from_bytes(/, bytes[, ...]) |
Return the integer represented by the given array of bytes. |
PartCreationType.as_integer_ratio(/) |
Return a pair of integers, whose ratio is equal to the original int. |
PartCreationType.is_integer(/) |
Returns True. |
Attributes
| Name | Description |
|---|---|
PartCreationType.real |
the real part of a complex number |
PartCreationType.imag |
the imaginary part of a complex number |
PartCreationType.numerator |
the numerator of a rational number in lowest terms |
PartCreationType.denominator |
the denominator of a rational number in lowest terms |
PartCreationType.MODEL |
Denotes a part per CAD Model. |
PartCreationType.ASSEMBLY |
Denotes a part per CAD Assembly. |
PartCreationType.PART |
Denotes a part per CAD Part. |
PartCreationType.BODY |
Denotes a part per CAD Body. |