🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Selection of specific 1-D element

User: "Vikas Kumar_22189"
Altair Community Member
Updated by Vikas Kumar_22189

Dear All,

 

I want to select some specific 1-D element like BAR element from config as shown in below figure.

 

image.png.53e3d7fdfda218dbd741a5caef7cf6f5.png      ->>>      

 

image.png.f4ae0f9c58b2eb153fff703f86d483fd.png

 

 

 

 

But i am not able to find config ID for BAR , JOINT or any other element so i can pass it in selection set handle.

I am using command 

 

hwi OpenStack
set t [::post::GetT];

model$t GetSelectionSetHandle Elem_set1D_Bar$t [model$t AddSelectionSet element]
Elem_set1D_Bar$t SetLabel 'BAR 1D Elements'
# Elem_set1D_Bar$t Add 'dimension 1' ; #  instead of this line i wants to use below line so it will select only BAR element This line is Giving all 1 d elements

Elem_set1D_Bar$t Add 'Config id'    # but i am not able to find config id for bar element.
Elem_set1D_Bar$t GetSize;
Elem_set1D_Bar$t GetList; # Giving all 1 d element Joint ,BAR etc element
set set_1d [Elem_set1D_Bar$t GetID]

hwi CloseStack

 

 

can anyone help me to find config ID of all data type in hyperworks reference document.

@tinh

 

Thanks,

Vikas Kumar

 

 

Find more posts tagged with

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

    Hi Vikas,

    You can directly query the element config using Hyperview Query 


    image.png.3b4dbf4cc34a0548cf060e4f69562034.png

     

    and then use it in Elem_set1D_Bar$t Add 'Config 56'

     

    User: "Vikas Kumar_22189"
    Altair Community Member
    OP
    Updated by Vikas Kumar_22189

    Thanks Livil,

     

    It's working, for BAR it is 60.

     

    Thank you so much.

    Vikas Kumar

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi,

    for config numbers, you can look it up in Hypermesh reference help, topic 'Data Names' > elements