How to select all circumferential nodes in a meshed hole by selecting any one node among them?

User: "Jouher_20929"
Altair Community Member
Updated by Jouher_20929

How to select all circumferential nodes in a meshed hole by selecting any one node among them?

Please tell me the tcl command

Find more posts tagged with

Sort by:
1 - 8 of 81
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Try to select 'by face':

    select_by_face.png.1350a0773c1aea245a9b7a32f23fa165.png

    User: "Jouher_20929"
    Altair Community Member
    OP
    Updated by Jouher_20929

    No, selection of node by face will select all nodes. I need just 3 other nodes after selecting first. see the image.

    <?xml version="1.0" encoding="UTF-8"?>Capture.PNG

    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Try 'by path'?

     

    User: "Jouher_20929"
    Altair Community Member
    OP
    Updated by Jouher_20929

    the requirement for this macro is, by selecting a single node, remaining nodes should be selected and i want to create a RBE3.

    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Maybe this script (on Altair Script Exchange) help: 

     

    Link : https://connect.altair.com/CP/kb-view.html?kb=40829

     

    Unable to find an attachment - read this blog

    User: "Pandurang"
    Altair Community Member
    Updated by Pandurang

    Hi Jouher,

    ###Script

     

    *createmarkpanel nodes 1 'Select node';

    set node1 [hm_getmark nodes 1]

    *createmark components 1 displayed

    *findloops components 1;

    *createmark comps 2 -1;

    *isolateonlyentitybymark 2;

     

    *createmark elems 1 'by node' $node1;

    set elist [hm_getmark elems 1]

    *clearmark elems 1;

    #filter the plot elem
            foreach id $elist {
                *createmark elems 1 $id;
                if {[hm_getmarkvalue elems 1 config 0] == 2} \
                {
                    break;
                }
            }

    *appendmark elems 1 'by attached'

     

    eval *createmark elems 2 [hm_getmark elems 1];

     

     

    #get required node list in order
     set nlist [lremove  [hm_getmarkvalue elems 2 nodes 0] $node]

     

     

    please try this........

    User: "tinh"
    Altair Community Member
    Updated by tinh

    I think from v2017 you can select nodes by 'edges' so we don't need script to do that

    User: "Pandurang"
    Altair Community Member
    Updated by Pandurang

    I think from v2017 you can select nodes by 'edges' so we don't need script to do that

     

    I am using this version... i don't see this option