🎉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

BUGS in HyperWorks TCL commands

User: "tinh"
Altair Community Member
Updated by tinh

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

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Altair Forum User"
    Altair Employee
    Updated by Altair Forum User

    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
    User: "tinh"
    Altair Community Member
    OP
    Updated by tinh

    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