Mark adjacent nodes

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

hi,

hm_appendmark nodes 1 'by adjacent'

Since nodes cant be marked by adjacent. But I need to get adjacent nodes .

Is there anyway that I can use

 

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    *findmark nodes 1 257 1 elements 0 2

    in above command 257 refers to ?

  • tinh
    tinh Altair Community Member
    edited July 2017

    hi,

    hm_appendmark nodes 1 'by adjacent'

    Since nodes cant be marked by adjacent. But I need to get adjacent nodes .

    Is there anyway that I can use

     

     

    *createmark elems 1 'by node' {*}[hm_getmark nodes 1]

    *appendmark nodes 1 'by elems' {*}[hm_getmark elems 1]

  • tinh
    tinh Altair Community Member
    edited July 2017

    *findmark nodes 1 257 1 elements 0 2

    in above command 257 refers to ?

     

    set Bits [format %0b 257]

    => looking for bit indication in help of *findmark

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Thanks tinh