TCL command to identify if 1d elements exist in model

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi,

Is there a TCL command to identify if 1d elements exist in current model?

Many thanks,

 

Answers

  • vipin_22401
    vipin_22401 Altair Community Member
    edited April 2018

    Hi Matt,

     

    Try creating an element mark using 'by config' and add all 1d configurations you need, then check for the mark length.

     

    *createmark elems 1 'by config' bar2 bar3 gap rod weld joint plot
    set elem_count [hm_marklength elems 1]