SimplexCity Model support
SimplexCity Model runs from a single dialog panel inside MicroStation: under Model İşlemleri (model operations) you’ll find Ön İzleme (preview), CityGML Dönüştürme (CityGML conversion) and Element Fill Kaldırma (remove element fill). Choose Seçim (Tek Yapı for one building or Fence İçi Yapılar for buildings in a fence) and the EPSG zone, then press Başlat (Start). Most problems come from level codes that don’t match the DGN, a missing cadastre DGN, or buildings skipped because they were already processed. The application’s interface and messages are in Turkish.
Articles and guides
Step-by-step help with common SimplexCity Model tasks.
Getting started
- Prepare your drawing and settings file for SimplexCity ModelWhich levels the add-in reads, where simplexcity.ini goes, and the cadastre and terrain DGNs it uses.
- Preview one building or the buildings in a fenceUse Ön İzleme to see roof and wall surfaces in the DGN before you write any CityGML.
- Reset processed buildings with Element Fill KaldırmaWhat fill colours 7 and 8 mean, and how to clear them so buildings can be processed again.
CityGML conversion
- Convert buildings to CityGMLUse CityGML Dönüştürme to write one F-<YapıID>.gml file per building.
- Choose the cadastre DGN so building IDs are read correctlyHow the building ID, block, parcel, MAKS and TAKBİS values are read from the cadastre DGN, and what happens without it.
- Provide terrain triangles for the terrain intersectionHow the add-in finds terrain triangles by 1:1000 map-sheet name, and what it does when it can’t.
- Choose the EPSG zoneThe TUREF/TM zones in the EPSG list, their codes, and what the choice affects.
Before you start
- Keep simplexcity.ini in the same folder as SimplexCity.ma.
- Make sure the level codes in the settings file match the levels in your DGN (main building, other structures, canopy, awning, roof detail, roof line, parapet, courtyard, dome…).
- When you use Fence İçi Yapılar, keep the centre of each main-building and other-structure shape inside the fence.
- In the cadastre DGN, the building ID text must sit inside the footprint, and the block, parcel and land reference texts inside the parcel boundary.
- Choose your data’s TUREF/TM 3° zone (TM27–TM45) from the EPSG list.
- If you use Fence İçi Yapılar, draw the fence before pressing Başlat.
- Closing the dialog also unloads the application; keep it open until you’re done.
Common issues
Messages the application shows and the points users get stuck on most, with causes and fixes.
Installation and start-up
simplexcity.ini was not found
Cause
The settings file isn’t in the application’s folder.
Fix
Put simplexcity.ini in the same folder as SimplexCity.ma.
The dialog closed and commands don’t work
Cause
Closing the dialog unloads the add-in.
Fix
Load the add-in again.
Licence warning
Cause
The licence key isn’t plugged in, its driver is missing or outdated, or the usage period has ended.
Fix
Plug in the key and update its driver; if the period has ended, contact us.
Preview and model building
Some buildings in the fence weren’t processed
Cause
Already processed buildings are marked with a fill colour (7: started, 8: finished) and skipped in fence mode. A shape is also skipped if it isn’t on the main or other building level, or if its centre lies outside the fence.
Fix
Run Element Fill Kaldırma first to process them again; check the level codes and the fence extent.
Some buildings were left with fill colour 7
Cause
Processing started on that building but didn’t finish; it was most likely interrupted.
Fix
Remove the marking with Element Fill Kaldırma and try again.
Roof merging reached the round limit
Cause
Near-coplanar roof triangles couldn’t be fully merged in ten rounds, so the last state was used. This isn’t an error.
Fix
Check that building’s roof visually; details are in CatiBirlestirme.log in the active DGN’s folder.
The preview was drawn on top of an earlier one
Cause
Preview results are added to the roof and wall levels; earlier ones aren’t removed automatically.
Fix
Delete the earlier roof and wall surfaces before previewing again.
CityGML conversion
No cadastre DGN selected
Cause
The parameter field is empty. Conversion still runs. The building ID comes from a building ID text inside the footprint in the active drawing if there is one, otherwise from a random identifier; the block is written as 0, and the parcel, MAKS, neighbourhood and land references as −1.
Fix
Choose the cadastre DGN with the “…” button and convert again.
Random building ID, block 0 or parcel −1 in the GML
Cause
In the cadastre DGN, the building ID text isn’t inside the footprint, the building isn’t inside a parcel boundary, or the level codes don’t match.
Fix
Check the text positions and level codes, then convert again.
A file could not be opened
Cause
The GML or log file couldn’t be written: the folder is read-only, or the file is open in another program.
Fix
Check the folder’s write permission and close the program holding the file.
The model is in the wrong place in validation
Cause
The chosen EPSG zone doesn’t match the data’s zone.
Fix
Choose the correct TUREF/TM zone and convert again.
Element Fill Kaldırma
No fence defined
Cause
Fence İçi Yapılar is selected but no fence has been drawn.
Fix
Draw a fence and press Başlat again. Ön İzleme and CityGML Dönüştürme in fence mode need a fence first as well.
Frequently asked questions
What does SimplexCity Model produce?
It builds LoD2 building models from photogrammetric 2D/3D building data (main buildings, other structures, canopies, awnings, roof details, parapets, courtyards, domes, minarets…) and writes one CityGML file per building.
What’s the difference between Tek Yapı and Fence İçi Yapılar?
With Tek Yapı, the shape you pick is treated as the main building and buildings are processed one by one; the prompt returns after each building. In fence mode, structures on the main or other building levels whose centre lies inside the fence and that haven’t been processed yet are processed.
Why is the cadastre DGN needed?
The building ID, MAKS ID, block, parcel, neighbourhood and land references are read from the texts and boundaries in the cadastre DGN. The file is attached automatically as a reference with its levels off.
Where are the GML files written?
To the active DGN’s folder, as F-<YapıID>.gml for each building. If logging is on, a separator line per building is added to gmlDonusum.log in the cadastre DGN’s folder.
Can I use these files in SimplexCity Texture?
Yes. The CityGML 2.0 files from Model can be added to SimplexCity Texture as buildings; Texture updates those files in place with photo textures.
What is Sözleşme Numarası for?
It’s written to the GML as the tender or contract registration number, with “/” characters removed.
Why are roofs polygons instead of triangles?
Neighbouring near-coplanar roof triangles are merged into one polygon (angle tolerance 2°, vertical shift at most 5 cm, X and Y unchanged). If logging is on, the report is appended to CatiBirlestirme.log in the active DGN’s folder.
Which EPSG should I choose?
Your data’s TUREF/TM 3° zone: TM27 = 5253, TM30 = 5254, TM33 = 5255, TM36 = 5256, TM39 = 5257, TM42 = 5258, TM45 = 5259.
Still stuck?
Tell us your version, what you were doing and the message you saw; a screenshot helps. We reply on weekdays between 09:00 and 18:00 Turkish time.