question

Enrique Elizaga avatar image
0 Likes"
Enrique Elizaga asked Phil BoBo answered

put new GlobalTable in folder

Hi, with your help I just completed a code block that helps me add new Global Tables as the model needs, rename them and populate them, then delete them when done. The tables I want to keep, however, must be organized in folders.

Is there a flexscript way to put a new table inside an existing Global Tables folder?

Much appreciated.

FlexSim 18.2.2
global tableflexscript
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

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered

The folder organization in the Toolbox is a separate tree structure of nodes pointing at the various tool objects, such as global tables.

Use the treenode class methods and properties in FlexScript to create or modify this structure:


tools-folders.png (86.8 KiB)
5 |100000

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

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.