Model.beamsectionupdateshellpartname#

Model.beamsectionupdateshellpartname(beam_sect_id, part_index, new_name)#

Renames a shell section part.

Parameters:
  • beam_sect_id (int) – The ID of the shell beam section to update.

  • part_index (int) – The index of the part to rename for that shell section, starting from 0.

  • new_name (hwString) – The new name of the part.

Example#

Rename the part with index 3 for shell beamsection ID 100 to “edge4”#
import hm

model = hm.Model()

model.beamsectionupdateshellpartname(
    beam_sect_id=100,
    part_index=3,
    new_name="edge4"
)