Hide Connector Between Task Executer and Travel Node

Hide Connector Between Task Executer and Travel Node

bob_g
Not applicable
17 Views
4 Replies
Message 1 of 5

Hide Connector Between Task Executer and Travel Node

bob_g
Not applicable

[ FlexSim 22.2.2 ]

I would like to display the travel nodes and edges in my model but not the connection (red line) between the Task Executer and its current node.

Is there a way to hide the red line? Unchecking Show Connections in the 3D View properties window does not do this.

Any suggestions?

Thanks.

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

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

You can cycle through the display modes by holding x and clicking on a network node, or right clicking a network node and selecting the Network View Mode. The closest of these to what you want is to show the edges, but with this option the nodes are hidden:

1663941857277.png

0 Likes
Message 3 of 5

bob_g
Not applicable

Thanks for the suggestion.

Showing only the edges hides the connectors but also the nodes. It seems there is no way to hide just the connectors.

Perhaps the best approach is to show just the edges and then add shapes to represent the nodes.

0 Likes
Message 4 of 5

jason_lightfootVL7B4
Autodesk
Autodesk

You can draw a shape for each node regardless of the display mode. That allows you to retain the functionality of moving and clicking network nodes. Here is an example of the draw code:

drawtomodelscale(current);
drawsphere(0,0,0,viewpointradius(view).value/100,255,255,255);

Or set up a user command to be called by each network node, passing in view and current as parameters and put the code above in the user command.

retainNetworkNodesInAllDisplayModes.fsm

0 Likes
Message 5 of 5

bob_g
Not applicable
Thanks! Drawing a shape in the node OnDraw trigger works well.
0 Likes