question

Patrick Cloutier avatar image
1 Like"
Patrick Cloutier asked Phil BoBo commented

Is it possible to create an executable version of a model ?

Is it possible to create an executable version of a model? You send someone just that one file and he runs it and the models runs with no menus except the custom dashboard you have created so he can change parameters.

If that is not possible, is there another way to do something similar? The main objective is for that person to NOT have access to the model logic and programming. Using it without being able to copy or edit it.

I assume that's possible through a web page but is there another way?

FlexSim 17.2.2
protected modelexecutable version of model
5 |100000

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

1 Answer

·
Jordan Johnson avatar image
3 Likes"
Jordan Johnson answered Phil BoBo commented

You should take a look at the FlexSim Module SDK (here's a link). There is some documentation in there about how to make an Environment (Documentation/Environments.html). There are two kinds of environments: Module and Model. You want a Model Environment. The environment should allow you to strip down the UI the way you are thinking. You can set it up so that the environment is applied when the model is opened, leaving the model user with only the options you have allowed.

· 6
5 |100000

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

Patrick Cloutier avatar image Patrick Cloutier commented ·

But I think the person still needs to install Flexsim in order to run the model. Correct? It is not 1 self-contained file?

Also where can we find the commands to "delete menu bars" for example?

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Patrick Cloutier commented ·

Yes, you need to install FlexSim in order to run a FlexSim model. We don't have a "runner" that is a single file. The FlexSim application runs FlexSim models.

You can delete menu bars by changing the contents of the node VIEW:/rootmenu/replace and calling maintenance(21);

0 Likes 0 ·
Patrick Cloutier avatar image Patrick Cloutier Phil BoBo ♦♦ commented ·

When I open the tree view, the highest node I see is Model. How do I see the nodes above that? (where I assume View is)

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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