Read the pie attributes of the material layers in Table 1, and the layers in Table 2.

Handling:

ac_request2("get_pie", int pieindex, int iTable1, int iTable2);

Here:

pieindex - index of the layered construction (pie). If you set -1, then we load in general all the pies that are in the project;

iTable1 - a handle to the ts_table object to populate the layer cake (or layer cakes) with data;

The output contains records with the following columns:

"composite_index" type int - index of the pie of layers in the project;

"piename" type string - the name of the pie;

"totalThick" type double - total thickness of the pie;

"nComps" type int - the number of layers in the pie.


iTable2 - a handle to the ts_table object to fill with data on the composition of the layer cakes.

The output contains records with the following columns:

"composite_index" type int - index of the layer pie to which the layer belongs;

"buildingmaterial" type int - index of building material in the project;

"pielayername" type string - the name of the building material;

"ID" type string - building material id;

"thickness" type double - layer thickness;

"flagbits" type int - set of bit characteristics;

"leftright" type int - descriptor of the position of the layer in relation to the core of the layered pie (left finish - 0, core - 1, right finish 2);

"cutMaterial" type int - coverage index;

"cutFill" type int - hatch index;