Get normal direction

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

Hi,

any one can help me in finding the direction of normal to an element.

for ex: if we create a normal to an element using color base or vector basis how to know the vector is in which direction.using command.

looking forward to your replies..

Regards

RAmu

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2009

    Hi Ramu,

    You can use hm_getentityvalue for this.

    set Nx [hm_getentityvalue elements $elementid 'normalx' 0]

    same can be implemented for tria elements.

    Hope this will solve the problem.

    Mandar