-
Dear all, I'm trying to extract the nodes number of a selection, a first should be simple. But I do not know what I'm doing wrong I do select the nodes concerned: mapdl.esel('s','type','','12')
mapdl.nsle() if I print the list is good when I try to store the node list in an array as follows: nlist_array=mapdl.get_array('NODE', item1='NLIST') # when I print the nlist_array is totally empty [ ] I do not know what I'm doing wrong :( any suggestion? thank you very much, dP |
Beta Was this translation helpful? Give feedback.
Answered by
germa89
Oct 13, 2022
Replies: 1 comment 1 reply
-
Hi @peluho
Which list?? to retrieve the selected nodes, you can do: mapdl.mesh.nodes If |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
peluho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @peluho
Which list??
to retrieve the selected nodes, you can do:
If
nlist_array
is empty, it is very likely you have not selected any node. Could you share the code that lead to that line?