FlightStream Scripting Spreadsheet Export Yields Wrong Binary Format

User: "coopertomcook"
Altair Community Member

While writing some scripts for automating analysis, I have discovered that when I use the command:
"""EXPORT_SOLVER_ANALYSIS_SPREADSHEET

(path)"""

The resulting text file data is saved in UTF-8, but the file is encoded as UTF-16. This results in garbage data when opened by a standard text editor.

Screenshot 2024-11-18 160621.png

I can get around this by forcing reading in UTF-8, but this also results in a couple garbage characters.

Screenshot 2024-11-18 160839.png

This problem does not exist when I manually export the spreadsheet through the GUI. Is there another command I can enter to get the proper file format?

Find more posts tagged with

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

    No worries! Thanks for checking that. We'll keep an eye on this issue. Hopefully we can find a solution so your workflow stays simpler.