Fetch base element ids of group elements

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User
I am currently writing a TCL script for Hypermesh software, I am stuck with a problem and thus I am writing to seek help.

The script reads all the group names from the imported abaqus input deck and creates node sets. But the problem is that in the node sets it doesn't include the second order nodes.

Thus I request you to kindly help me out by sharing a TCL query command or a script that will fetch the elements ids on which the group sits i.e when the groups are exported the output ABAQUS deck will be in the following format :

 

*SURFACE, NAME = , TYPE = ELEMENT

  $ele_id ,S1

 

I want to know if there is any TCL query command using which I can fetch the tetrahedron element ids of a group from hypermesh ($ele_id).By using tetrahedron elements I mean to say the base elements on which the group elements sit.

 

Looking for a quick response.

 

Thanks ,

Rakshita Panchal

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    try *createmark elems 1 'by group id' $group_id

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    But that option just gives the elements of the groups, whereas i want the element ids on which the group element sits.

     

    <?xml version="1.0" encoding="UTF-8"?>post-41350-0-26306800-1447656926_thumb.p

    User: "tinh"
    Altair Community Member
    Updated by tinh

    try *createmark elems 1 'by group id' $group_id

    set elem_ids [hm_getmark elems 1]