Part#

class ansys.dyna.core.pre.part.Part(model, id: int, name: str, type: str, conn: List)#

Bases: object

Defines and modifies the parts of a model.

Parameters:
model: ansys.dyna.core.pre.Model

Model in which the part is created.

id: int

ID of the part provided by the server.

name: str

Part name.

Overview#

id

name

type

connectivity

print_mesh

Whether the mesh summary is set to print along with the part summary.

print_id

Whether IDs of TopoEntities or zonelets are set to print along with the part summary.

Import detail#

from ansys.dyna.core.pre.part import Part

Property detail#

property Part.id: int#
property Part.name: str#
property Part.type: str#
property Part.connectivity: List#
property Part.print_mesh: bool#

Whether the mesh summary is set to print along with the part summary.

property Part.print_id: bool#

Whether IDs of TopoEntities or zonelets are set to print along with the part summary.