Model.CE_FE_AbsorbUsingControl#

Model.CE_FE_AbsorbUsingControl(dim, control, elem_filter, collection=s_defaultCollection, check_for_material=0, combine=0, conn_at_centernode=0, force_proj=0, link_by_card=0, link_by_interface=0, mcf='', org=0, rul='None', shell_connect='none', t_connect='none', thickness_type=0, tol=0.000000, type2_interface=0, weld_cfg_name='', weld_type_num=0, weld_type_name='', area_absorption=0, area_headonly=0, area_in_middle=0, cluster_identify=0, group_links=0, seam_absorption=0, seam_headonly=0, select_special=0, tie_contact=0, attach_link=0, apply_prop=0, link_type=EntityFullType())#

Absorbs certain FE information into connectors using control.

Parameters:
  • dim (int) –

    Defines the type of connector to absorb.

    0 - Spot connectors

    1 - Seam/Area connectors

    4 - Bolt connectors

    5 - Stitch connectors

    6 - Stitch HL connector

    7 - Area Contact connectors

  • control (hwString) – The name of the connectorcontrol entity.

  • elem_filter (hwIntList) – An integer array containing the element IDs to be considered for absorption. If empty, displayed elements will be used.

  • collection (Collection) – Reserved for future development

  • check_for_material (int) –

    0 - Do not check for material for mat100 (hexa)

    1 - Check for material for mat100 (hexa)

  • combine (int) –

    0 - Do not combine in case of equivalent body nodes

    1 - Combine in case of equivalent body nodes

  • conn_at_centernode (int) –

    0 - Do not enable Connector at Centernode for rbe3 (load transfer)

    1 - Enable Connector at Centernode for rbe3 (load transfer)

  • force_proj (int) –

    0 - Do not enable ACM pattern recognition

    1 - Enable ACM pattern recognition

  • link_by_card (int) –

    0 - Do not find link entities by card

    1 - Find link entities by card

  • link_by_interface (int) –

    0 - Do not find link entities by interface

    1 - Find link entities by interface

  • mcf (hwString) – The file name for the main connection file.

  • org (int) –

    0 - Use current component

    1 - Move connectors to FE component

  • rul (hwString) – The re-connect rule. Valid values are “None”, “Use id”, “Use uid”, and “Use name”.

  • shell_connect (hwString) – Valid values are body, head, projs, and none.

  • t_connect (hwString) – Valid values are body, head, projs, and none.

  • thickness_type (int) –

    The spot connector thickness type:

    1 - equival (T1+T2)/2

    3 - shell gap

    5 - const thickness

  • tol (double) – The maximum distance allowed between the connector and each of its links.

  • type2_interface (int) –

    0 - Do not find link entities by interface for type2 (spring)

    1 - Find link entities by interface for type2 (spring)

  • weld_cfg_name (hwString) – The type of FE realization that needs to be converted to connectors.

  • weld_type_num (int) – The selected weld type ID.

  • weld_type_name (hwString) – The selected weld type name.

  • area_absorption (int) –

    0 - Do not absorb as area

    1 - Absorb as area if possible

  • area_headonly (int) –

    0 - Do not only absorb FE with heads as area

    1 - Only absorb FE with heads as area

  • area_in_middle (int) –

    0 - Do not move area to the middle position

    1 - Move area to the middle position

  • cluster_identify (int) –

    0 - Do not absorb single element cluster as area

    1 - Absorb single element cluster as area

  • group_links (int) –

    0 - Do not organize the links into two groups

    1 - Organize the links into two groups

  • seam_absorption (int) –

    0 - Do not absorb as seam

    1 - Absorb as seam if possible

  • seam_headonly (int) –

    0 - Do not only absorb FE with heads as seam

    1 - Only absorb FE with heads as seam

  • select_special (int) –

    0 - Do not enable enhanced approach

    1 - Enable enhanced approach

  • tie_contact (int) –

    0 - Do not enable With tie contact

    1 - Enable With tie contact

  • attach_link (int) –

    0 - Do not use attachments as links

    1 - Use attachments as links

  • apply_prop (int) –

    0 - Do not apply property to connector

    1 - Apply property to connector

  • link_type (EntityFullType) – The type of link to use to absorb. Valid entity types are component, part, property, node, and element.

Example#

Absorb bolt connectors using connectorcontrol “connectorcontrol1”#
import hm
import hm.entities as ent

model = hm.Model()

model.CE_FE_AbsorbUsingControl(
    dim=4,
    control="connectorcontrol1",
    elem_filter=[],
    rul="Use uid",
    tol=20.0,
    attach_link=1,
    org=1,
    link_type=ent.Part,
    apply_prop=1
)