Select elements by configuration

sanket_patil
sanket_patil Altair Community Member
edited October 2020 in Community Q&A

What is tcl command to select elements by configuration (Especially Free Edges(PLOTEL))?

 

Thanks.

Answers

  • Mario_21478
    Mario_21478 Altair Community Member
    edited December 2018

    Hello sanket_patil,

     

    Try to use the following:

     

    *createmark elems 1 'by config' plot

     

    Best Regards,

    Mario

     

  • sanket_patil
    sanket_patil Altair Community Member
    edited December 2018

    @MarioThanks for suggestion, It is working

     

    Thanks,

    Sanket

  • imoto
    imoto
    Altair Employee
    edited December 2018

    Hi @sanket_patil,

     

    I think it should be work fine, other options are following.

     

    *createmark elems 1 'by config' 2;

    or

    *createmark elems 1 'by comp name' ^edges

     

    Thanks,
    Imoto

  • sanket_patil
    sanket_patil Altair Community Member
    edited December 2018

    Hi @imoto @mario Thanks for the help..It is working.

     

    Thanks,

    Sanket

     

  • sanket_patil
    sanket_patil Altair Community Member
    edited February 2019

    Hi,

    How to find only CBAR or CBEAM elements out of the displayed elements?

    Ï tried with,


    *createmark elems 2 'displayed'
    *createmark elems 1 'by config type' 1 bar2

     

    It is providing both CBAR and CBEAM elements. I wan to find only CBAR/CBEAM

     

    Thanks

  • tinh
    tinh Altair Community Member
    edited February 2019

    *createmark elems 1 'by config type' bar2 1

  • sanket_patil
    sanket_patil Altair Community Member
    edited February 2019

    @tinh

    Thanks for quick Help.

    I tried

    *createmark elems 1 'by config type' bar2   this command but it is giving wrong output. It is giving CONMASS elements instead of CBEAM/CBAR.

     

    Can you give another solution?

     

    Regards,

    Sanket

  • tinh
    tinh Altair Community Member
    edited February 2019

    Can you show all options of *createmark? I dont have hypermesh here.

  • sanket_patil
    sanket_patil Altair Community Member
    edited February 2019

    @tinh

    Hi,

    I tried

    *createmark elems 1 'by config type' 1 bar2 {CBAR} {CBEAM}   command

    It worked

    Thanks,

    Sanket

  • tinh
    tinh Altair Community Member
    edited February 2019

    It looks incorrect but somehow it worked! Good job

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2020

    Hi,

     

    I am trying to find the configuration of a selected set of entities using tcl. Are there any commands built for this?

     

    thanks in advance,

     

    Akhil

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited August 2020

    usually you can accomplish this by using the 'hm_getvalue' command for many datanames available in HM.

    Take a look at the documentation for this command and also the documentation for 'datanames' to check all the datanames that can be queried for each entity.

     

    example:

    hm_getvalue elems id=10000 dataname=config

    hm_getvalue elems id=10000 dataname=configname