🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

TCL command to select nodes by geometry

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi, all,

Is there any tcl command to select nodes by geometry? For example, I try select all nodes associated with a line. I try to operate it in hypermesh and then check the command.cmf file. But what I can find is the following command:

*createmark(nodes,1) 38-70 5954-5984

which directly operate by node number. Since in my mode, the mesh changes, so the number number and amount of nodes change. So above command will not give desired result.

Does any one know the tcl command to select nodes by geometry? It seems it can be done easily in hypermesh GUI,so probably there is a corresponding command or function in TCL.

Thanks!

Richard

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    try ..

    hm_createmark nodes 1 'by lines' $lineId

    set ndlist [hm_getmark nodes 1]

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    How to manually assign a ID to a line when it is created?

    I means not to use automatic ID by hypermesh but give a ID in TCL function.

    Thanks!

    try ..

    hm_createmark nodes 1 'by lines' $lineId

    set ndlist [hm_getmark nodes 1]