Model.morphbiasupdate#

Model.morphbiasupdate(hptr, bias)#

Updates the bias factor for the specified handle entity.

Parameters:
  • hptr (Entity) – The object defining the handle entity.

  • bias (double) – New bias value.

Example#

Update the handle with ID 1 to have a bias factor of 2.0 .#
import hm
import hm.entities as ent

model = hm.Model()

model.morphbiasupdate(hptr=ent.Handle(model, 1), bias=2.0)