Model.morphconstraintsetcolor#
- Model.morphconstraintsetcolor(mcon, color)#
Sets the color for a morph constraint.
- Parameters:
mcon (Entity) – The morph constraint entity.
color (int) – The color of the constraint. Valid values are 1-64.
Example#
Set the color of the morph constraint with ID 5 to 33#import hm import hm.entities as ent model = hm.Model() model.morphconstraintsetcolor(mcon=ent.Morphconstraint(model, 5), color=33)