question

David Seo avatar image
0 Likes"
David Seo asked Logan Gold edited

how to display the port connected information as ON/OFF like captured?

port-information-display.png

Chapter 6 - Conveyors.fsm

The model is ver. 2021.0. and it is transfered as the core training course.

What is the way of ON/OFF to display the connected port information like captured?

FlexSim 24.2.1
how to display the port connected informationport information on/off like captured?
· 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @David Seo, was one of Regan Blackett's or Patrick Zweekhorst's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·
Regan Blackett avatar image
0 Likes"
Regan Blackett answered Logan Gold edited

You can toggle on/off the port connections information with the keyboard + mouse short cut of holding 'v' + left click on an Object to display input/output port information and holding 'c' + left click for center port connections.

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

David Seo avatar image David Seo commented ·
My question is not detail. Keyboard + mouse short cut of holding ''v' is used only for holding keyboard. The picture is looks like not holding keyboard. They look continuously with/without any keyboard using.
0 Likes 0 ·
Logan Gold avatar image Logan Gold ♦♦ David Seo commented ·

I originally said this may not be working as intended, but that is not correct. The design of the V and C keys in FlexSim is that you can hold down the keys and then click around to different objects to temporarily see each object's connection names.


If you want the names to persist, you need to hold down both the V key (or C key for center connection) and the mouse button together (not just click the mouse), then release the V key, then release the mouse button.

1 Like 1 ·
Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst answered Patrick Zweekhorst edited

Hi @David Seo ,

You can toggle this on by using the following code:

drawflags(object).value = drawflags(object).value | DRAW_FLAG_CENTER_PORT_NAMES;

Or toggle it off by:
drawflags(object).value = drawflags(object).value & ~DRAW_FLAG_CENTER_PORT_NAMES;


If you don't want the center objects but the inobjects you can use the flag DRAW_FLAG_INOUT_PORT_NAMES

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.