Model.hwCfdSceneShowAll#

Model.hwCfdSceneShowAll(consider_geom=1, consider_elems=1)#

This function is used to turn on all entities. This should be used in conjunction with the Model.hwCfdSceneShowHideIsolateEntity() and Model.hwCfdSceneShowAll() functions. This function is valid only for the CFD profile.

Parameters:
  • consider_geom (int) –

    0 - Do not consider the associated geometry

    1 - Consider the associated geometry. (default)

  • consider_elems (int) –

    0 - Do not consider the associated elements

    1 - Consider the associated elements. (default)

Example#

Hiding surfaces with IDs 1-10, reversing the display, then showing all entities#
import hm
import hm.entities as ent

model = hm.Model()

surf_col = hm.Collection(model,ent.Surface,list(range(1,11)))

model.hwCfdSceneShowHideIsolateEntity(function="hide",collection=surf_col)
model.hwCfdSceneReverseAll(entity_type=ent.Surface)
model.hwCfdSceneShowAll()