I have in my simulation various conveyors and they all have a speed of 2m/sec. Now I would like to change that to another value, but it somehow not that advanced to change this in every atom individually. Does anybody know if this can be done in a central table or is it possible to set a reference from one conveyor to another so that only one needs to be changed?
The entry field for the speed of a container allows 4DScript code (denoted by 4DS), so you can refer to the cell of a table you inserted in the model. The table atom can be found under DATA in the model tree. When you create an alias for this table and use the atom name for instance, you can refer to a table called MyTable with the word refMyTable. To refer to the first cell in this table you can then use this command:
Code: Select all
Cell(1, 1, refMyTable)