Model.hm_getmodelcheckconcernentityidresultentityid#

Model.hm_getmodelcheckconcernentityidresultentityid(display_name, contact_id)#

This functon returns the concerned non projecting untied nodes for a given contact group/interface.

Parameters:
  • display_name (hwString) –

    The display name of the check to query. Currently supported values are:

    ”Un-Tied nodes in Contact Tied” for LS_DYNA

    ”Un-Tied nodes in interface type2” for Radioss

  • contact_id (int) – ID of the contact for which untied nodes are to be found. This must be one of the contact IDs listed in the Model Checker browser after a Model Checker run.

Returns:

  • hwReturnStatus - Status object

  • HmQueryResult - Result object containing the output values:

    • untiedNodes (EntityList) - Entity list object containing Entity Type Node

Examples#

Get untied nodes for contact with ID 123 for LS_DYNA#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getmodelcheckconcernentityidresultentityid(
    display_name="Un-Tied nodes in Contact Tied", contact_id=123
)

print("untiedNodes:", result.untiedNodes)
Find untied nodes for contact with ID 123 for Radioss#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getmodelcheckconcernentityidresultentityid(
    display_name="Un-Tied nodes in interface type2", contact_id=123
)

print("untiedNodes:", result.untiedNodes)