get the adjacent component...

User: "Pandurang"
Altair Community Member
Updated by Pandurang

Hi All,

 

I have BIW Model. by selecting one component , want to get its adjacent components....

Is there any way to do this automatically....

@tinh

 

Regards,

PD

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    are they connected with anything?

    User: "Pandurang"
    Altair Community Member
    OP
    Updated by Pandurang

    yes

    User: "tinh"
    Altair Community Member
    Updated by tinh

    So you can use *createmark elems 1 'by comp id' $FirstCompId

    and then use *appendmark elems 1 'by adjacent' to find adjacent elems => get comp ids of those adjacents elems

    User: "Pandurang"
    Altair Community Member
    OP
    Updated by Pandurang

    Hi Tinh,

    i am getting only rigid link component here ...may be because 2 or more comps are connected by rigid link...

    i want to get that comps adjacent to selected one , connected by rigid links...

    selected and adjacent have gap in between....

    how can i resolve this?

    Thanks 

    PD

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    maybe, find adjacent elems of each rigidlink and then get their comps

    then using lsort -unique to simplify the list