Can the project be exported as a pure Python script?

Wenjun Zhu
Wenjun Zhu Altair Community Member
edited January 2022 in Community Q&A

Can a Flux project be exported as a Python script? I am planning to run a Flux project on another computer with python but without Flux installed (some authorization issue).

Tagged:

Answers

  • Alexandru-Ionel Constantin
    Alexandru-Ionel Constantin Altair Community Member
    edited January 2022

    Hi Wenjun Zhu,

     

    At the moment a Flux Project can not be exported as a Phyton script file.

    You need to create the file yourself.

    All operations performed in Flux have the equivalent PyFlux commands written in the Flux2D_log phyton script file.

    The simplest way to create the phyton file is to define your Flux project from scratch and then get the PyFlux commands written in the Flux2D_log phyton script file, if you do not have the Flux2D_log phyton script file from the definition of your Flux Project.

     

    Best regards,

    Alexandru