🎉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

Selecting only 3D elements

User: "JaNo"
Altair Community Member
Updated by JaNo

Hi, how can I select only 3D elements via tcl script? I tried *createmark , but the only possible option is "by config" choosing specific element types. I want to do it for all solid elements.

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Adriano_Koga"
    Altair Employee
    Accepted Answer
    Updated by Adriano_Koga

    i don't have a direct command for that, but running the command you've mentioned, you could use multiple config codes.

    For 2D, i.e:

    *createmark elems 1 "by config" 103 104 105 ...

     

    For 3D, i.e:

    *createmark elems 1 "by config" 203 204 205 206 207 208 ...

     

    Each of these codes represent a certain element type, extracted from the documentation, under 'Data Names'.

    image

    User: "JaNo"
    Altair Community Member
    OP
    Updated by JaNo

    i don't have a direct command for that, but running the command you've mentioned, you could use multiple config codes.

    For 2D, i.e:

    *createmark elems 1 "by config" 103 104 105 ...

     

    For 3D, i.e:

    *createmark elems 1 "by config" 203 204 205 206 207 208 ...

     

    Each of these codes represent a certain element type, extracted from the documentation, under 'Data Names'.

    image

    Thanks :) Documentation is so unreadable for me :/ Can you hint to me on how to get node coordinate, I found the command hm_getentityvalue but I can find no explanation of it in the documentation. Could you help me?

    Any hints how to learn hm scripting? There are not many resources.