How to mark the lines connected to surface?

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

How do I mark the lines which surround/are connected to a surface?

*createmark lines 1 'by surfs' 1 2 3

...doesn't work for me.

Regards, Stefan

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2011

    For surface edges (not lines) you can use this:

    *createmark surfaces 1 ...

    *findmark surfaces 1 113 1 lines 0 2

    This gives you in mark 2 (hm_getmark lines 2) the edge IDs.

    Please check the help page of *findmark for details on the third parameter (here 113)

    Regards

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2011

    . . .

    *findmark surfaces 1 113 1 lines 0 2

    . . .

    Please check the help page of *findmark for details on the third parameter (here 113)

    Hello Stefan,

    When I check the HM v10 help, I find the third parameter for *findmark is 'function' & has permissible values of 0 & 1. Could you please provide further details regarding you use of the values 113.

    Thanks,

    Paul

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2011

    Stefan

    there are several ways to accomplish that:

    hm_createmark lines 1 'by surface' $surfaceList;set linesList [hm_getmark lines 1];

    where surfaceList contains the ids of surfaces.

    or you could use 'hm_getsurfaceedges'. check the hM help for a this command usage