Model.tableexport#
- Model.tableexport(name, filename, delimiter)#
Exports data from a table to a file.
- Parameters:
Examples#
Write out “ table1 “ with commas as the separator#import hm import hm.entities as ent model = hm.Model() model.tableexport(name="table1", filename="C:/table1.txt", delimiter=",")
Write out “ table1 “ with commas as the separator ( Alternatively )#import hm import hm.entities as ent model = hm.Model() model.tableexport(name="table1", filename="C:/table1.txt",delimiter="")
Write out “ table1 “ with “ ABC “ as the separator .#import hm import hm.entities as ent model = hm.Model() model.tableexport(name="table1", filename="C:/table1.txt", delimiter="ABC")