PartSet#

class ansys.dyna.core.pre.dynabase.PartSet(parts=[])#

Bases: BaseSet

Defines a set of parts with optional attributes.

Overview#

create

Create a part set.

num

Get the number of parts in the part set.

pos

Get a part ID by position.

get_pid

Get the part ID.

Import detail#

from ansys.dyna.core.pre.dynabase import PartSet

Attribute detail#

PartSet.parts = []#

Method detail#

PartSet.create(stub)#

Create a part set.

PartSet.num()#

Get the number of parts in the part set.

PartSet.pos(pos)#

Get a part ID by position.

PartSet.get_pid()#

Get the part ID.