add_methods Module

digraph inheritancecb8270c2af { bgcolor=transparent; rankdir=LR; size=""; "pyNastran.bdf.bdf_interface.add_methods.AddMethods" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="defines methods to add card objects to the BDF"]; }
pyNastran.bdf.bdf_interface.add_methods.add_object_to_dict(model: BDF, key: int, obj_name: str, obj: BaseCard, obj_dict: dict[int, BaseCard], allow_overwrites: bool) None[source]
Parameters:
key: int

property id

obj_name: str

‘property’

obj: prop

PSHELL

obj_dict: dict[int, PSHELL | PBAR …]

storage dictionary

allow_overwrites: bool

True/False

pyNastran.bdf.bdf_interface.add_methods.add_object_to_dict_no_dupes(model: BDF, key: int, obj_name: str, obj: BaseCard, obj_dict: dict[int, BaseCard], duplicate_list: list[BaseCard], allow_overwrites: bool) None[source]
Parameters:
key: int

property id

obj_name: str

‘property’

obj: prop

PSHELL

obj_dict: dict[int, PSHELL | PBAR …]

storage dictionary

duplicate_list: list[PSHELL | PBAR | …]

model._duplicate_properties

allow_overwrites: bool

True/False