How to Extract the component name from selecting node / element.
Find more posts tagged with
Sort by:
1 - 5 of
51
oh,sorry i forgot that one node can be belonged to 2 or more than 2 comps
so if you have a node, first find elements attached to it
*createmark nodes 1 $nodeid
*findmark nodes 1 1 1 elems 0 2
set elems [hm_getmark elems 2]
foreach elemid $elems {puts [hm_getentityvalue elems $elemid collector.name 1 -byid]}
Hello
try hm_getentityvalue nodes nodeid collector.name 1 -byid
please read topic about 'data names' in hypermesh help