*tablecolumnstart()
Starts the data definition of a column in a table in HMASCII format.
Syntax
*tablecolumnstart (index,entity_type,column_type)
Type
HyperMesh HMASCII Command
Description
Starts the data definition of a column in a table in HMASCII format. Must be after *tables_end() and have a corresponding *tablecolumnend() and one or more *tablecolumnvalue() commands.
Inputs
- index
- The index of the column, starting at 0.
- entity_type
- The entity type ID if the column is an entity type.
- column_type
- The type of the column. Valid values are:
Example
To create a table with ID 100, name "my-table", 4 columns (integer, double, string, elements), 3 rows, and column labels indicating the data type:
*tables(100,"my-table",11,0,3,4)
    *tablecolumntypes(int,double,string,elements)
    *tablecolumnlabels("Integer","Double","String","Elements")
*tables_end()
*tablecolumnstart(0,0,1,3)
    *tablecolumnvalues(2)
    *tablecolumnvalues(7)
    *tablecolumnvalues(1)
*tablecolumnend()
*tablecolumnstart(1,0,4,3)
    *tablecolumnvalues(2.5)
    *tablecolumnvalues(3.14159)
    *tablecolumnvalues(-2.5)
*tablecolumnend()
*tablecolumnstart(2,0,6,3)
    *tablecolumnvalues(A)
    *tablecolumnvalues(B)
    *tablecolumnvalues(C)
*tablecolumnend()
*tablecolumnstart(3,2,2,3)
    *tablecolumnvalues(1)
    *tablecolumnvalues(2)
    *tablecolumnvalues(10)
*tablecolumnend()Errors
Incorrect usage results in an import error.
Version History
11.0