
The .prmt file is a plain-text container that lists the structural and architectural objects you want PromCore to rebuild in the scene.
Each object is written on a single line as a semicolon-separated record:
WallConcrete20250512182627832827;-2880;200;2820;4010.815;70616.5;14072.54;69680.07;20;6;20;6;-370
CombinePlane20250512182307463272;-2880;300;-2248;58320;10687;22510;78783;9155;42374;
Type | Parameter index (after the first ; ) | Meaning | Example |
CombinePlane | hl | Level of the slab soffit | -2880 |
thk | Slab thickness | 300 | |
... | Even-length list of polygon vertices on the X-Z plane (x1;y1;x2;y2;…;xn;yn;) | -2248 58320 10687 22510 78783 9155 42374 |
CombinePylon202505121823105796484;17362;47416;-2880;1200;210;2820;20;269.3489;5;12;6;200;-152.9;
Type | Parameter index (after the first ; ) | Meaning | Example |
CombinePylon | X | Centre X | 17362 |
Y | Centre Y | 47416 | |
hl | Base level (Z) | -2880 | |
Введите текст | W | Section width (local X) | 1200 |
D | Section depth (local Y) | 210 | |
H | Total height | 2820 | |
Pl | Protective layer | 20 | |
Rot | Rotation around global Z (deg) | 269.3489 | |
Nz | Rebar count in Z direction | 5 | |
Dz | Rebar Ø (mm) | 12 | |
Dxy | Transverse rebar Ø (mm) | 6 | |
S | Reinforcement pitch | 200 | |
N | Design axial force (- comp., + tension) | -152.9 |
public void SaveData()
{
List<List<string>> stats = new List<List<string>>();
List<string> planes = floors(doc, structuralFloorSlabs, conv);
List<string> colomns = Columns(doc, structuralColumns, conv, form);
List<string> WallsConcret= Walls(doc, structuralWalls, conv, form, "WallConcrete");
List<string> WallsArch = Walls(doc, ArchWalls, conv, form, "WallArchitec");
stats.Add(planes);
stats.Add(WallsConcret);
stats.Add(colomns);
stats.Add(WallsArch);
form.saveFileDialog1.ShowDialog();
string path = form.saveFileDialog1.FileName;
using FileStream stream1 = new FileStream(path, FileMode.Create);
new BinaryFormatter().Serialize(stream1, stats);
}
All walls, pylons and floors are written into one-dimensional lists using the appropriate methods in your chosen modeling program. Example of implementation in C#:
Item | Rule |
Decimal separator | “ . ” (dot) — set CultureInfo.InvariantCulture when serializing |
Coordinate pairs | The vertex list for CombinePlane must contain an even number of coordinates (min 3 pairs) |
Unique IDs | They do not have to be globally unique, only within a file; timestamps or timestamp-sized GUIDs. |
Type | Parameter index (after the first ; ) | Meaning | Meaning |
WallConcrete | name | Object name | WallConcrete202511162209490913764 |
WallArchitec | hl | Base level (Z) of the wall | -2880 |
thk | Wall thickness | 200 | |
h | Wall height | 2820 | |
Введите текст | Ax | Start-point X | 4010.815 |
Ay | Start-point Y | 70616.5 | |
Bx | End-point X | 14072.54 | |
Введите текст | By | End-point Y | 69680.07 |
Dz | Rebar Ø (mm) | 20 | |
Nz | Rebar count in Z direction | 6 | |
Введите текст | Dxy | Rebar Ø (mm) | 20 |
Nxy | Rebar count in X0Y direction | 6 | |
N | Design axial force (- comp., + tension) | -370 |