Structure.add_nodes_elements_from_network
- Structure.add_nodes_elements_from_network(network, element_type, thermal=False, elset=None, axes={})[source]
Adds the nodes and edges of a Network to the Structure object.
- Parameters
network (obj) – Network datastructure object.
element_type (str) – Element type: ‘BeamElement’, ‘TrussElement’ etc.
thermal (bool) – Thermal properties on or off.
elset (str) – Name of element set to create.
axes (dict) – The local element axes ‘ex’, ‘ey’ and ‘ez’ for all elements.
- Returns
list – Keys of the created elements.