Find nodes on line

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

Hi all, 

I have imported a line from CATIA, into HyperMesh model (mesh). I need to find using the nodes from the mesh which are located on (near to) that line within certain tolerance.

Is there any Tcl command for this purpose?

At the moment, I can identify the line using its name from metadata, i.e.

*createmark lines 1 'by metadata contains value' TAG  Line_101

 

But I couldn't find any Tcl command for finding the nodes around the line on this mark.

I will be very thankful for any useful information.

 

Best regards,

Mubeen

 

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited December 2017

    I think there is no such command

    Tr associating nodes to the line then you can createmark nodes 'by lines'

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    I think there is no such command

    Tr associating nodes to the line then you can createmark nodes 'by lines'

    Hi tinh,

    I am trying to find the nodes around a free line, i.e. a line which is not an edge of (or not attached to) a surface.

    For example: the line id is 23 and I use the following commands  to attach the nodes located within 0.1 tolerance, to this line:

    *createmark nodes 1 all ;

    *nodesassociatetogeometry 1 lines 23 0.1 ;

     

    And the output message is:  A geometry entity must be selected.

    If I try to find/associate nodes to any free line (which is located very near to a surface), this error is returned.  

    However  if I try to find/associate nodes to any edge of a surface, it is easily done by HyperMesh.

    Is there any limitation for *nodesassociatetogeometry command when trying with free lines?

  • tinh
    tinh Altair Community Member
    edited February 2018

    Yes, the command work with topo lines only (not free lines)

  • tinh
    tinh Altair Community Member
    edited February 2018

    If your line is straight, you can use *createmark nodes 1 'by cylinder' (search for arguments in hm reference help)