Hi everyone,
How can i get the mesh node number by providing coordinates. I am trying to draw paths dynamically using mesh node points.
Code :
import visualization
nodes = beamPart.nodes
Path_nodes=nodes.getClosest(((0,300,90),(150,300,90),))
print Path_nodes
Ouput :
(mdb.models['Laminate I beam'].parts['I-Beam'].nodes[751], mdb.models['Laminate I beam'].parts['I-Beam'].nodes[383])
To draw path, I only require 751 and 383 as shown by following :
paths=session.Path(name='flange_path', type=NODE_LIST, expression=(('Beam Instance', (751, 383, )), ))
How can get the node numbers within the [ ] without the other strings attached.
Thanks in advance.
