get_building_material
Get information about a building material by its index in the project, or all building materials of the project.
Call:
int ires = ac_request_special("get_material", int bmatindex, int iTableBMat);
Here:
iTableBMat - a table describing building materials.
If you specify a specific building material index in matindex, then there will be only one line.
If you specify -1, then the entire list of building materials will be recorded.
Output table structure:
"building_material_index" type int - building material index,
"name" type string - the name of the building material,
"id" type string - building material ID,
"cutMaterial" type string - material for building material section,
"strMaterialGuid" - building material guid in text format.