> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartCreationType

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

### Attributes

| Name | Description |
| - | - |
| [`PartCreationType.real`](ansys.meshing.prime.PartCreationType.real.md#ansys.meshing.prime.PartCreationType.real) | the real part of a complex number |
| [`PartCreationType.imag`](ansys.meshing.prime.PartCreationType.imag.md#ansys.meshing.prime.PartCreationType.imag) | the imaginary part of a complex number |
| [`PartCreationType.numerator`](ansys.meshing.prime.PartCreationType.numerator.md#ansys.meshing.prime.PartCreationType.numerator) | the numerator of a rational number in lowest terms |
| [`PartCreationType.denominator`](ansys.meshing.prime.PartCreationType.denominator.md#ansys.meshing.prime.PartCreationType.denominator) | the denominator of a rational number in lowest terms |
| [`PartCreationType.MODEL`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1/api/_autosummary/ansys.meshing.prime.PartCreationType.MODEL) | Denotes a part per CAD Model. |
| [`PartCreationType.ASSEMBLY`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1/api/_autosummary/ansys.meshing.prime.PartCreationType.ASSEMBLY) | Denotes a part per CAD Assembly. |
| [`PartCreationType.PART`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1/api/_autosummary/ansys.meshing.prime.PartCreationType.PART) | Denotes a part per CAD Part. |
| [`PartCreationType.BODY`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1/api/_autosummary/ansys.meshing.prime.PartCreationType.BODY) | Denotes a part per CAD Body. |
