With the Column function, you can retrieve values from columns in your scene and you can add and remove them.
The following are the Column functions:
In this script, a loop is run on each column to retrieve the name and type of each column. If a column is a Drawing column, the element is also printed retrieved. All this information is printed to the shell that started Toon Boom Harmony.
n = column.numberOf();
for (i = 0; i < n; ++i)
name = column.getDisplayName(i);
type = column.type(name);
line = i + " " + name + "(" + type + ")";
if (type == "DRAWING")
line += " element = "
Open topic with navigation