10 Acces to HexaBlock component in python language::
14 Add a new empty document in the session::
16 doc = hexablock.addDocument(name)
19 Add a new document loaded from a "xml" file::
21 doc2 = hexablock.loadDocument(filename)
23 Get the number of opened document in the session::
25 nd = hexablock.countDocument()
27 Get the document number "i"::
29 doc_i = hexablock.getDocument(i)
31 Remove a document in the session::
33 hexablock.removeDocument(doc_i)
35 A tool to dump a model of block::
37 hexablock.dump(doc, [mesh, [full]])
39 - doc: the document to dump
40 - mesh: an optional mesh of this document
43 - False: to have a short dump (by default)
44 - True: to have a full dump
47 GUI command: :ref:`guicomponent`