question

Swami Premnidhi avatar image
1 Like"
Swami Premnidhi asked Phil BoBo edited

label display in text is not coming correctly

I attached a sample model. Here i am trying to display labels of visual object(i.e.Shape1) in text display

I want label name(i.e Item1,Item2,Item3) should come in different line.

(tried this LabelName + "\n" but not working)

how it can be done. Thanks in advance.

FlexSim 20.2.2
flexsim 20.2.2visual text
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
3 Likes"
Phil BoBo answered Phil BoBo edited

The 3D text object only draws one line of text. If you want to draw multiple lines, you need to use multiple 3D text objects, or use the drawtext() command multiple times in an OnDraw trigger.

sample-model-label-display_1.fsm


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.