question

Jouky D avatar image
0 Likes"
Jouky D asked Benjamin W2 commented

How to export the model's code of ProcessFlow and 3D model to PDF/HTML/C++/R?

Hello,

I want to continue working on the model using all the codification of the model. How can I export the model codification (PF and 3D model), with all the connections, objects, etc., into a PDF or HTML or C++ or R to continue working on that but using a deep layer of codification?

Thank you!

FlexSim 20.0.5
codeexportc++flexsim 20.0.5html
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jordan Johnson avatar image
2 Likes"
Jordan Johnson answered

You can use the FlexSim module SDK to incorporate a C++ dll into your FlexSim model. You can download the module SDK from the Downloads section of the FlexSim website:

account.flexsim.com/downloads

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Benjamin W2 commented

There isn't really a good way to completely export the model into a structured coding language. However, most of the model data is present in the tree, and you can export the tree as XML. See the following documentation:

https://docs.flexsim.com/en/20.1/Reference/DeveloperAdvancedUser/XML/


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jouky D avatar image Jouky D commented ·

Can I use this XML code for translating my model into another language as R or C++?

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Jouky D commented ·

I would go with Jordan's approach, and write a C++ DLL to interact with the model. You can do this directly or you can write an interface between R and C++ as a DLL.

0 Likes 0 ·