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

Jouher_20929
Jouher_20929 Altair Community Member
edited October 2020 in Community Q&A

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

Please tell me the tcl command

Tagged:

Answers

  • QuyNguyenDai
    QuyNguyenDai Altair Community Member
    edited March 2018

    Try to select 'by face':

    select_by_face.png.1350a0773c1aea245a9b7a32f23fa165.png

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited March 2018

    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

  • QuyNguyenDai
    QuyNguyenDai Altair Community Member
    edited March 2018

    Try 'by path'?

     

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited March 2018

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

  • QuyNguyenDai
    QuyNguyenDai Altair Community Member
    edited March 2018

    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

  • Pandurang
    Pandurang Altair Community Member
    edited April 2018

    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........

  • tinh
    tinh Altair Community Member
    edited April 2018

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

  • Pandurang
    Pandurang Altair Community Member
    edited April 2018

    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