PartCreationType#

class ansys.meshing.prime.PartCreationType(value)#

Part Creation Type decides whether to create a part per CAD Model, Assembly, Part, Body.

Methods

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 integer ratio.

Attributes

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.

Examples using PartCreationType#

Mesh a mid-surfaced bracket for a structural analysis

Mesh a mid-surfaced bracket for a structural analysis

Mesh a set of solder balls (beta)

Mesh a set of solder balls (beta)