Exporting data to XML using an script (API)
I'm trying to export prediction data (path loss) to an XML file using an API script in WinProp.
I can do the same thing in ProMan GUI by File > Export > Export Data (Area) > Export XML (All)...
I also looked for a similar functionality in "Scripting and API Reference Guide", but could not find anything.
Best Answer
-
Hello Arash,
there is no similar export function in the API, but as after API computation the results are given in the WinProp_Result data structure please add some lines of codes on your side to write the results (given in the 3D matrix component of WinProp_Result) in the desired format.
Or you can directly further process these results without the need to write to disk first.
Best regards,
Reiner1
Answers
-
Hello Arash,
there is no similar export function in the API, but as after API computation the results are given in the WinProp_Result data structure please add some lines of codes on your side to write the results (given in the 3D matrix component of WinProp_Result) in the desired format.
Or you can directly further process these results without the need to write to disk first.
Best regards,
Reiner1