I am checking the elements beneath a surface for their labels & the coordinates of their nodes in the following code,
mySurf = mdb.models['Model-1'].rootAssembly.surfaces['Surf-1']
surfEls = mySurf.elements[:]
surfNodes = []
for eNode in mySurf.nodes:
surfNodes.append(eNode.coordinates)
This does something but when I check the sizes of each list then I get more element labels than I do sets of node coordinates!
I also tried the following to get the nodal coordinates,
surfNodes = mySurf.nodes[:]
surfNodesCoords = surfNodes.coordinates[:]
But this just throws up an error,
AttributeError: 'MeshSequence' object has no attribute 'coordinates'
Which I confess has dumbfounded me. Does anybody have a deeper understanding of the methods used above, who can explain this behaviour to me?