A program to recognize and reward our most engaged community members
How to select all circumferential nodes in a meshed hole by selecting any one node among them?
Please tell me the tcl command
Try to select 'by face':
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"?>
Try 'by path'?
the requirement for this macro is, by selecting a single node, remaining nodes should be selected and i want to create a RBE3.
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
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........
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