To add a geometry to a document in python mode, you need the following arguments:
Use the function addShape:
doc = hexablock.addDocument (doc_name)
geom = geompy.ImportBREP (shape_name + ".brep")
shape = hexablock.addShape (doc, geom , shape_name)
GUI command: Add a geometry to a document