Model.morphshapeupdatecolor#
- Model.morphshapeupdatecolor(shape, color)#
Updates the color of a shape.
- Parameters:
shape (Entity) – The shape entity.
color (int) – Integer between 0 and 63 inclusive.
Example#
Update the color of the shape with ID 1#import hm import hm.entities as ent model = hm.Model() model.morphshapeupdatecolor(shape=ent.Shape(model, 1), color=15)