by Python:
Code: Select all
# reads the params from import/export preference GUI
App.ActiveDocument.FEMMeshGmsh.FemMesh.write('/home/hugo/Desktop/groups/femmeshgroups2esets2.inp')
# uses the prefs passed with the method
App.ActiveDocument.FEMMeshGmsh.FemMesh.writeABAQUS('/home/hugo/Desktop/groups/femmeshgroups2esets2.inp', 0, True)
''' while
elemParam:
0 = all elements
1 = highest elements only
2 = FEM elements only (only edges not belonging to faces and faces not belonging to volumes)
groupParam:
true = write group data
false = do not write group data
'''
example file attached ...