question

Xu Chunqi avatar image
0 Likes"
Xu Chunqi asked Xu Chunqi commented

Property Table

Hi,

I want to change an object's name by edit the PropertyTables:

Table(Model.find("Tools/PropertyTables/PropertyTable1>variables/table"))[2][2] = "N";

But it doesnot work, can you help me?

FlexSim 20.2.0
flexsim 20.2.0property table
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

Why do you do this? Is it not enough to set a name by Object property name?

0 Likes 0 ·
Xu Chunqi avatar image Xu Chunqi Joerg Vogel commented ·

Hi Joerg,

I want to try the new function and wonder if it can modify the objects' property in batch.

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
1 Like"
Phil BoBo answered Xu Chunqi commented

You can use the Table.query() command to modify objects' properties in batch.

See https://docs.flexsim.com/en/20.2/Reference/Tools/PropertyTables/#sql

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

Xu Chunqi avatar image Xu Chunqi commented ·

Thank you ,Phil. I will have a try.

0 Likes 0 ·