How to get first node, if direction is given?

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

Suppose I give input as global x-axis direction, I need the first node in same direction for the FE

 

@tinh

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • tinh
    tinh Altair Community Member
    edited September 2019

    1. Ignore nodes that have globalx < 0 use *createmark

    2. With nodes have globalx > 0, get closest node to (-1000000, 0, 0) use hm_getclosestnode

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited September 2019

    @tinh get closest nodes are not selecting the right node. This is because I have bracket in front but at bottom position. So, it selects closest node in front but misses the bracket as its away down. I need the node which touches first like a plane crossing

  • tinh
    tinh Altair Community Member
    edited September 2019

    So, Ignore nodes which are far from X axis

    Use createmark with option 'on plane' or 'by cylinder'

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.