The attached block has 24 2nd order Tetrahedrons, but the following macro:

Code: Select all

```
import numpy as np
doc = App.ActiveDocument
mesh = doc.getObject("FEMMeshGmsh").FemMesh
mesh.NodeCount # returns 63
mesh.VolumeCount # returns 24
for i in range(1,mesh.VolumeCount+1):
print(mesh.getElementNodes(i)) # returns 12 times 3 and 12 times 6
```

What am I doing wrong here?