Model.realizefieldloads#

Model.realizefieldloads(collection, skip_delete)#

Realizes engineering loads into classical loads or groups.

Parameters:
  • collection (Collection) – The collection containing the engineering load entities to realize into classical loads or groups.

  • skip_delete (unsigned int) –

    0 - Delete all engineering loads after realization (default)

    1 - Keep all engineering loads after realization

Examples#

Realize all engineering force loads#
import hm
import hm.entities as ent

model = hm.Model()

model.realizefieldloads(collection=hm.Collection(model, ent.LoadForce), skip_delete=0)
Realize all engineering force and constraint loads and skip deletion#
import hm
import hm.entities as ent

model = hm.Model()

collection = hm.Collection(model, ent.LoadForce)
collection_1 = hm.Collection(model, ent.LoadConstraint)
collection_list = [collection, collection_1]
for collection in collection_list:
    model.realizefieldloads(collection=collection, skip_delete=1)