Prepare your drawing and settings file for SimplexCity Model
Which levels the add-in reads, where simplexcity.ini goes, and the cadastre and terrain DGNs it uses.
SimplexCity Model builds building models from the photogrammetric building drawings in the DGN that’s open in MicroStation. It tells a main building from a canopy or a roof detail by its level, and it reads which level code means what from the settings file, simplexcity.ini. Before you start, prepare the settings file, the drawing and the supporting DGNs.
Put the settings file in place
- Put
simplexcity.iniin the same folder asSimplexCity.ma. The add-in looks for the settings file only in that folder. - In the
[Katmanlar]section, enter the level code from your DGN for each key. To give a key more than one code, separate the codes with commas. - Optionally, add
Seçenek1,Seçenek2andParametre1–Parametre6values to the[Ön İzleme],[CityGML Dönüştürme]and[Element Fill Kaldırma]sections. When you choose an operation in the dialog, the Seçim (selection), EPSG and parameter fields are filled from these values.
Level keys
| Keys | Where they’re looked for | What they’re for |
|---|---|---|
AnaYapı, DiğerYapı | Active DGN (shapes) | Main buildings and other structures. When you work with a fence, only shapes on these levels are processed as structures. |
Sundurma, Tente | Active DGN (shapes) | Canopies and awnings. Each is added to the main building it touches as a building part. |
Bağlantı | Active DGN (lines) | A line with one end inside a canopy and the other inside a structure links the canopy to that structure. |
ÇatıDetay, ÇatıEklenti, ÇatıÇizgisi, Pencere, Parapet, ParapetAltKot, Avlu, AvluAltKot, Teras, Minare, KubbeAlt, KubbeUst, KoniAlt, KoniUst | Active DGN | Roof and building details. ParapetAltKot and AvluAltKot are expected as text elements. Roof installations are written to CityGML as building installations. |
YapıID | Cadastre DGN, then the active DGN if needed (text) | The building ID, which also names the GML file. |
MaksKimlikNo, ParselSınırı, AdaNo, ParselNo, ZeminRef, MahalleSınırı, MahalleRef | Cadastre DGN | The MAKS ID, the parcel and neighbourhood boundaries, and the block, parcel, land reference and neighbourhood reference texts inside them. |
ÜçgenModel | Map-sheet DGNs (shapes) | Terrain triangles. |
Cadastre and terrain DGNs
Identifiers are read from the file you choose in the dialog’s Kadastro DGN (cadastre DGN) field. If that file isn’t attached as a reference, the add-in attaches it itself, with its levels turned off. Put the map-sheet DGNs that hold the terrain triangles in the same folder as the cadastre DGN. The add-in looks up level codes in each file’s own level table, so the same codes must exist in the cadastre and map-sheet DGNs too.