Populate Schedule Source Using Global Table

Populate Schedule Source Using Global Table

wproctorPG49C
Enthusiast Enthusiast
186 Views
2 Replies
Message 1 of 3

Populate Schedule Source Using Global Table

wproctorPG49C
Enthusiast
Enthusiast

[ FlexSim 21.2.4 ]

Right now I am generating a schedule in the model into a global table that I want to add to a Schedule Source (ProcessFlow). To make this work, I am exporting the schedule table to Excel and then reimporting it to FlexSim to get it into the Schedule Source. Is there a more direct way to do this?

0 Likes
Accepted solutions (1)
187 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

Reference the table and write to it directly - for example:

treenode vars=variables(getactivity("ProcessFlow","Source"));
Table schedule=vars.subnodes["arrivals"];

or if you need to copy from the global table add this line:

Table("GlobalTable").cloneTo(schedule);
Message 3 of 3

wproctorPG49C
Enthusiast
Enthusiast
Worked Great! Thanks!
0 Likes