The Change domain of table operation can be directly executed by typing one of the following expressions on the command line of the Main window:
OUTTABLE |
= |
TableChangeDomain(InputTableName, None) |
OUTTABLE |
= |
TableChangeDomain(InputTableName, DomainName) |
OUTTABLE |
= |
TableChangeDomain(InputTableName, ColumnName) |
OUTTABLE |
= |
TableChangeDomain(InputTableName, ColumnName, avg | min | max | sum | last | no) |
where:
OUTTABLE |
is the name of your output table. |
TableChangeDomain |
is the command to start the Change domain of Table operation. |
InputTableName |
is the name of your input table. |
None |
is a parameter to obtain an output table with domain None. |
DomainName |
is a parameter to specify an existing class or ID domain on disk; the output table will use this class or ID domain. |
ColumnName |
is a parameter to specify a class or ID column in the input table; the output table will use this class or ID domain. When you do not perform an aggregation, the specified column must contain unique classes or IDs. |
avg | min | max | sum | last | no |
when the specified column does not contain unique classes or IDs, you can use these parameters to aggregate values of value columns in the table: average, minimum value, maximum value, sum, last value or no aggregation respectively. For non-value columns in the input table, the last class name, ID, or color, etc. encountered will be used. |
When the definition symbol = is used, a dependent output table is created; when the assignment symbol := is used, the dependency link is immediately broken after the output table has been calculated.
See also: