Model.perturbationshapeupdate#

Model.perturbationshapeupdate(name, vectorcolid)#

Updates a perturbation shape.

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

  • vectorcolid (unsigned int) – The ID of the vector collector that contains the perturbation vectors.

Example#

Create a shape “ sh1 “ that has its perturbation vectors in a vector collector of ID 7#
import hm
import hm.entities as ent

model = hm.Model()

model.perturbationshapeupdate(name="sh1", vectorcolid=7)