Model.blockwallcreate#

Model.blockwallcreate(blockname, wallname, color)#

Creates a wall in a finite difference block.

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

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

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

Example#

Create a wall with name “wall1” on block with name “block1”#
import hm

model = hm.Model()

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