Where is the DateTimeSource field NAME placed or used?

Where is the DateTimeSource field NAME placed or used?

patrickABAWF
Collaborator Collaborator
8 Views
4 Replies
Message 1 of 5

Where is the DateTimeSource field NAME placed or used?

patrickABAWF
Collaborator
Collaborator

[ FlexSim 18.1.2 ]

In the process flow DateTimeSource there is a column called NAME which I use to place a distinct identifier of the persons I'm modeling. But this NAME field is nowhere to be found either on the persons or on the tokens. As far I can find it's not used or at least not accessible. Am I correct?

I compensated by adding a Label column with that same info which creates a label on the person but that seems redundant since there already is a column called NAME.

0 Likes
Accepted solutions (1)
9 Views
4 Replies
Replies (4)
Message 2 of 5

tanner_p
Not applicable

Hi Patrick,

As far as I know, you are correct that the Name field that you are referring to is not visible as a label. I believe that it is used simply for the user to differentiate between the outputs. If you increase the labels to "1", however, you can create a label which is accessible like normal on your tokens. I've tried to illustrate this in the image below. Hope this helps!

12971-label-date-time-source.png

0 Likes
Message 3 of 5

regan_blackett
Autodesk
Autodesk
Accepted solution

12975-tokenname.png

A token names should show up like this on the token properties, and it's accessible with expressions like token.name

0 Likes
Message 4 of 5

patrickABAWF
Collaborator
Collaborator

Regan, I saw that my Name column was number data since the table is imported from Excel and the importer automatically set this column to number. For it to work I have to make sure to change the column to String after the import is done.

Secondly, the name does show as in your picture when I click on the token but only on the token in the general process flow that creates the persons. The name does appear when I click on the token in the instanced taskexecuter process flow that controls the persons or if I click on the person itself in the 3D view. I made sure "Copy token labels" is checked but that only copies the labels and not the name.

I compensated that by creating a name label on the token with a value of token.name and doing that before I 'CreatePerson' so that this label will be also on the person.

It works but it seems like a bug. As well as the thing above with the column data type.

0 Likes
Message 5 of 5

Matthew_Gillespie
Autodesk
Autodesk

This is not a bug. A token's name is not a label so the copy token labels checkbox doesn't copy it. A name is not a label.



Matthew Gillespie
FlexSim Software Developer

0 Likes