Model.hm_clearshape_byentity#
- Model.hm_clearshape_byentity(entity, shape='')#
Clears the graphical shape on on specific entity created by
Model.hm_plotshape_bycollection(),Model.hm_plotshape_byentity()functions.- Parameters:
entity (Entity) – The entity to clear shapes for. Valid entities are nodes.
shape (hwString) – The shape type to clear. Valid values are box, cone, cylinder, ellipsoid, frustum and sphere.
- Returns:
hwReturnStatus- Status object
Example#
Clear the shape for node with ID 1074#import hm import hm.entities as ent model = hm.Model() model.hm_clearshape_byentity(entity=ent.Node(model,1074))