question

Robert B2 avatar image
1 Like"
Robert B2 asked Phil BoBo commented

List of Commands

Is there a list some where of commands that I can use to write custom codes for different triggers in the program?

FlexSim 18.0.3
flexscriptcommandscoding
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

Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Phil BoBo commented

In the Help menu you'll find three menu items that you'll find useful:

The first opens the user manual to the page that discusses the FlexScript API. It lists the FlexScript classes and what methods and properties they have.

The second opens the user manual to the page that lists the commands supported in FlexScript. You can sort the list alphabetically or by category. A lot of these commands have been deprecated and replaced with newer methods in the FlexScript API.

The third opens a window that lets you search for commands by name and then displays the user manual entry for that command.


commands.png (12.6 KiB)
· 1
5 |100000

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

Phil BoBo avatar image Phil BoBo ♦♦ commented ·

The User Manual section Reference > Coding in FlexSim also has several pages of explanation about writing custom code in FlexSim:

0 Likes 0 ·