How can I create a indoor database with Winprop API

Song Tiandi
Song Tiandi Altair Community Member
edited June 2023 in Community Q&A

Hello , I notice that in Winprop API -> Data Structurs exists functions like COORDPOIN,T INDOOR_WALL, INDOOR_WALLS, MATERIAL and so on. I would like to create a indoor database with these functions, but I didn' find an example. Is this possible with C++? Do I need a Cmakelist? An could anyone give me an example? 

Tagged:

Answers

  • reinerh
    reinerh
    Altair Employee
    edited June 2023

    Hello,

    you can fill the mentioned data structures to create an indoor scenario and then use the API fct. WinProp_ConvertWalls to save it in the binary WinProp .idb format which can be loaded in WallMan, please have a look in the API guide for details. Unfortunately there is no such example provided with the installer.

    In order to display the indoor database for verification you will need to use the WallMan tool.
    Alternatively you might create the indoor scenario using the WallMan GUI or define it using the ASCII .ida format, please see chapter 3.3.4 of the user manual for details about this format.

  • reinerh
    reinerh
    Altair Employee
    edited June 2023

    To convert an indoor ASCII *.ida database to the WinProp binary format there is the API fct. WinProp_ConvertToBinary, please see the API guide for details.