View Full Version : Automatically generated global tables
Sebastian Dransfeld
09-01-2008, 08:35 AM
During excel import flexsim shows a messagebox: "ERROR", "The table <name> does not exist. Do you want to create it?", if the global table isn't defined. Afterwards the table isn't visible in the menu: Tools->Global Tables. If I manually add a table with Tools->Global Tables->Add, the automatically generated tables are also shown.
Regards Sebastian
Brandon Peterson
09-01-2008, 01:44 PM
Sebastian,
When the MTEI was created the Global tables where accessed diferently. When that was updated the MTEI was not updated to keep pace. After the MTEI creats a table the main tool bar is not updated until one of the following:
1. The model is saved and reopened.
2. Another table is created.
3. A table is deleted.
Here are some ways to update the menu:
1. Type "updatetoolsmenu();" in a script window and hit execute
2. Create and then delete a dummy table.
3. You can use the updatetoolsmenu(); option in the post import code menu of the MTEI but you will want to make sure that the code node is toggled as Flexscript (this can be tricky)
The good new is that this will only happen the first time that the MTEI executes because after that the tables should all be created and there won't be a need to create any new ones.
Good Luck,
Brandon
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.