question

MR avatar image
0 Likes"
MR asked Jeanette F commented

Using flexsim script and global table to create fixed resources

Hello,

I added three types of processes to the user library, which are plane1, plane2, and plane3. I'm using Flexsim Scirp to add different processes into the model, instead of dragging it.

I create an Excel sheet as below. Column A represents the processes in the user library. Column B represents the quantity I want to create in the model.

1715700229320.png

The button section in the dashboard can import Excel to the global table. I'm wondering if importing Excel and adding the numbers of processes to the model can be done at the same time. For example, when I import the sheet below, the model appears as 3 plane1, 2 plane2, and 1 plane3 at the same time.

process.xlsxplane.fslCreate.fsm

FlexSim 24.0.0
globaltableflexsim script
process.xlsx (8.1 KiB)
plane.fsl (4.3 KiB)
create.fsm (32.2 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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

@MR

https://docs.flexsim.com/en/24.0/Reference/Tools/PropertyTables/PropertyTables.html#autoBuild

This is a newer approach. You can also create objects by commands and methods. If you look for key phrases like create model by script or code, you will find answers and discussions here at this site from the past. It is nothing new. There are some limits creating dynamically process flow logic sheets.

· 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.