Display label of flow object in webserver

Display label of flow object in webserver

hoang_nk
Not applicable
7 Views
3 Replies
Message 1 of 4

Display label of flow object in webserver

hoang_nk
Not applicable

[ FlexSim 23.1.3 ]

Hi guys,

I have a question regarded the webserver. 1713219552328.png

I have a model running in webserver like the picture. Each of the cylinder on the ground has a label with their roll_id values. Normally when the model is running on local drive, I can select the cylinder and see the roll_id in the label window. However, I'm not able to do that when sim is running in webserver.

I'd really appreciate if somebody can give me a solution for this problem. Our clients would really like to see the roll_id when the simulation is running, and they can only access the model via webserver.

Is there anything like display text when hoovering the mouse over the cylinder or it can just be static text display, as long as there's something.

Regards,

Hoang Nguyen

0 Likes
Accepted solutions (1)
8 Views
3 Replies
Replies (3)
Message 2 of 4

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

You can try setting the roll flowitem's drawflags attribute to zero (via the flowitem bin tree - or use 1024 to keep the no predraw flag) and add your own draw code to display the rollid above the roll.

You can alternatively add an OnClick behaviour to set a value of something that is rendered in the view or on a dashboard.

Other techniques include nesting visual tools inside the flowitem, but I don't recommend this.

0 Likes
Message 3 of 4

hoang_nk
Not applicable
Many thanks, I'll give it a try
0 Likes
Message 4 of 4

hoang_nk
Not applicable

just an update, I found this article and I got what I need, the roll_id can now be added to the cylinder https://answers.flexsim.com/articles/68181/showing-a-label-text-on-flow-item-object.html

0 Likes