Model.morphbiasupdatemulti#

Model.morphbiasupdatemulti(hcollection, bias)#

Updates the bias factor for the handles on the collection.

Parameters:
  • hcollection (Collection) – The collection containing the input handle entities.

  • bias (double) – New bias value.

Example#

Update the handles selected interactively to the given factor of 2.0 .#
import hm
import hm.entities as ent

model = hm.Model()

model.morphbiasupdatemulti(
    hcollection=hm.CollectionByInteractiveSelection(model, ent.Handle), bias=2.0
)