Model.hideview#

Model.hideview(name, entity_type_id)#

Hides the entities with respect to a view saved using Model.saveviewmask().

Parameters:
  • name (hwString) – The name of the view to hide.

  • entity_type_id (int) – The entity type ID to hide.

Examples#

Hide the components (entity_type_id=3 ) in view * View2 * :#
import hm
import hm.entities as ent

model = hm.Model()
# Creating the collection set
model.hideview(name="View2", entity_type_id=3)