BUGS in HyperWorks TCL commands

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

I encountered a bug in hyperworks tcl command

 

Client                          Version                          Command                                                             Bug Information

Hypermesh                12                                   *findmark elems 1 1 1 elems 0 2                        this command did not add elems of mark 1 to mark 2

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2014

    it works for me... the findmark function will return the attached elements to the provided elements. If you need the original elems, append them to the mark.


    set elemIds <list with given elems>
     
    hm_createmark elements 1  $elemIds;
    *findmark elements 1 1 1 elements 0 2;
    hm_appendmark elems 2 $elemIds
    set elemList [ hm_getmark elems 2 ];
    puts $elemList;

    Remember that the list contains the HM elems ids, not the solver elems ids. To get the solver ids use:


    hm_getsolverid2 elems $elemIds
  • tinh
    tinh Altair Community Member
    edited June 2014

    I encountered bugs in hyperworks tcl command

    So you should care about these

     

    Client                    Version           Command                                                          Bug Information

    Hypermesh          12                    *findmark elems 1 1 1 elems 0 2                     this command did not add elems of mark 1 to mark 2 regardless the specified option

    Hypermesh          12                     hm_getthickness comps $CompId                 If component name starts with '\' then this command return 0.0 regardless actual thickness