Model.perturbationshapecreate#

Model.perturbationshapecreate(name, vectorcolid)#

Creates 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 5#
import hm
import hm.entities as ent

model = hm.Model()

model.perturbationshapecreate(name="sh1", vectorcolid=1)