Is it possible to support Python in Flexsim new version?

Is it possible to support Python in Flexsim new version?

junjie_tao
Not applicable
152 Views
5 Replies
Message 1 of 6

Is it possible to support Python in Flexsim new version?

junjie_tao
Not applicable

[ FlexSim 17.0.0 ]

Flexsim script syntax was more streamlined and intuitive nowadays. However, why reinvent the wheel, not use python as the C++ object' script? Python is more popular, and interact wtih C++ friendly, such as cffi(http://cffi.readthedocs.io/), cython(http://cython.readthedocs.io/en/latest/#) and Boost.Python(http://www.boost.org/)

Accepted solutions (1)
153 Views
5 Replies
Replies (5)
Message 2 of 6

Matthew_Gillespie
Autodesk
Autodesk
@anthony.johnson


Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 3 of 6

philboboADSK
Autodesk
Autodesk
Accepted solution

In our internal development discussions, we discussed adding support for Python or C#, but we settled on compiling FlexScript to machine code and adding dot syntax for object properties and methods rather than adding a whole new language.



Phil BoBo
Sr. Manager, Software Development
Message 4 of 6

junjie_tao
Not applicable

Awesome! Look forward to support for Python or C#.

0 Likes
Message 5 of 6

Ben_WilsonADSK
Community Manager
Community Manager

@Junjie Tao,

"but we settled on... FlexScript ... rather than adding a whole new language"

There is currently no plan for adding Python or C# support.

Message 6 of 6

junjie_tao
Not applicable

Hahaha, FlexScript is ok.

0 Likes