Model.blockwallupdate#

Model.blockwallupdate(blockname, wallname, color)#

Updates the color of a wall in a finite difference block.

Parameters:
  • blockname (hwString) – The name of the block.

  • wallname (hwString) – The name of the wall.

  • color (int) – The new color of the new wall.

Example#

Update the color of the wall on block with name “block1”#
import hm

model = hm.Model()

model.blockwallupdate(blockname="block1", wallname="wall1", color=9)