How to Set Prediction Area by Winprop API

User: "Tianhang Yu_20657"
Altair Community Member
Updated by Tianhang Yu_20657

Hi,

I'm currently attempting to calculate the received power of networks using the Winprop API. And I found I need to manually set the prediction area using 'GeneralParameters.UrbanLowerLeft' and 'GeneralParameters.UrbanUpperRight'. Is there an automated method for setting the prediction area? I have 2000 odb files that need to be calculated, and I can't manually set each one. Any help would be greatly appreciated.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Reiner_Hoppe"
    Altair Employee
    Accepted Answer
    Updated by Reiner_Hoppe

    Hi,
    you can try to use the fct. OutdoorPlugIn_ReadPredictionArea() which reads the parameters for the prediction area from the map database i.e. by using this function call and passing the .odb Filename and the DATABASE_TYPE_WINPROP_ODB you should get back the lower left and upper right corners i.e. 2 corners (NumberCorners will be set to 2) in the argument Polygon.

    Hopefully this will help.