Model.hm_ce_getconfigfromconnectorcontrol#
- Model.hm_ce_getconfigfromconnectorcontrol(entity_type, name)#
Gets the FE config name from a connector control or connector control default.
- Parameters:
entity_type (EntityFullType) – The type of entity to query. Valid values are connectorcontrol and connectorcontroldefault.
name (hwString) – The name of the entity to query.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:FEConfigName (str)
Examples#
Get the FE config name from connectorcontroldefault “ rbe3_(load_transfer)_spot_nastran_template “#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_ce_getconfigfromconnectorcontrol( entity_type=ent.Connectorcontroldefault, name="rbe3_(load_transfer)_spot_nastran_template" ) fe_config = result.FEConfigName print("FE Config Name: ", fe_config)