Model.meshline_update_surface#

Model.meshline_update_surface(flag, reserved)#

Creates surfaces on closed meshline loops.

Parameters:
  • flag (int) –

    Flag about the surface creation on closed meshline loops. Valid options are:

    0 - Disable creating surfaces on closed meshline loops.

    1 - Enable creating surfaces on closed meshline loops.

  • reserved (CollectionSet) – Reserved for future use. Must be set to an empty CollectionSet.

Example#

Turn on create surfaces for closed meshline loops#
import hm
import hm.entities as ent

model = hm.Model()

model.meshline_update_surface(flag=1, reserved=hm.CollectionSet(model))