Model.blocksetcurrent#

Model.blocksetcurrent(name)#

Sets the current block.

Parameters:

name (hwString) – The name of the block.

Example#

Set the block with name “block1” as current#
import hm

model = hm.Model()

model.blocksetcurrent(name="block1")