How to select a set of nodes on a vector defined by N1, N2, N3 and basepoint?

If N1 is 100(node id)/ N2 is 101(node id)/ N3 is 102(node id).... Basepoint is 'userdefined', tolerance 0.1 / normal to plane
how to write a code to select a list of nodes falling on the defined vector?
Thanks in advance!


Hi Vipin,
Thanks for the reply!
I have came through this 'on plane' option. But the problem is I have the input N1, N2, N3 and basepoint only. Can you help me with the codes for extracting base coordinates and vector normals from the input?
Thanks!

Hi Sathish,
you can find a proc for vector normals from 3 nodes in following thread:
https://community.altair.com/community?id=community_question&sys_id=0396447a1b2bd0908017dc61ec4bcb47
use the proc to find vector normals:
set vecNormals [NormalFrmPlane $N1 $N2 $N3]
set baseCords [lindex [hm_nodevalue $baseNode] 0]
substitute these values in *createmark command
*createmark nodes 1 'on plane' {*}$baseCords {*}$vecNormals 0.1 0 0