Model.hm_ce_getdefaultconnectorcontrolfromconfig#

Model.hm_ce_getdefaultconnectorcontrolfromconfig(solver, style, feconfig)#

Returns the connector control default name and ID for an FE config.

Parameters:
  • solver (hwString) – The solver name.

  • style (hwString) – The connector style. Valid values are app_mass, area, bolt, seam and spot.

  • feconfig (hwString) – The FE config name.

Returns:

  • hwReturnStatus - Status object

  • HmQueryResult - Result object containing the output values:

    • connectorControlName (str)

    • connectorControlID (int)

Examples#

Get the connector control default for solver nastran , style spot , and FE config “ rbe3 ( load transfer ) “#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_ce_getdefaultconnectorcontrolfromconfig(
    solver="nastran,
    style="spot",
    feconfig="rbe3 (load transfer)"
)

ctrl_info = [result.connectorControlName, result.connectorControlID]
print("Connector Control Info: ", ctrl_info)