]> SALOME platform Git repositories - modules/smesh.git/blob - src/Tools/Verima/createDatabase.py
Salome HOME
23365: [CEA 1938] Export med from a xao file fails
[modules/smesh.git] / src / Tools / Verima / createDatabase.py
1 #!/usr/bin/env python
2
3 import sys
4 from Base.dataBase import Base
5
6 def creeDatabase(fichier):
7       maBase=Base(fichier)
8       maBase.create()
9       maBase.initialise()
10       maBase.remplit()
11       maBase.close()
12
13
14
15 if __name__ == "__main__":
16      from optparse import OptionParser
17      p=OptionParser()
18      p.add_option('-d',dest='database',default="myMesh.db",help='nom de la database')
19      options, args = p.parse_args()
20      creeDatabase(options.database )
21