Mimic Manual · Chapter 4

Connecting with Pipes

This is the heart of a Mimic screen. A pipe (Pipe) connects symbols and shows the flow as an animation.

Flow animation

When DataNameStateA becomes true, green dashes flow. Below are consecutive frames of the same pipe.

Consecutive frames 1 → 4 of a flowing pipe — the dashes shift a little at a time, so they appear to flow.
Consecutive frames 1 → 4 of a flowing pipe — the dashes shift a little at a time, so they appear to flow.
StatePipe appearance
Running (DataNameStateA true)Dashes in the flow color (FlowBrush) flow
Alarm (DataNameStateB true)A still red solid line
Stopped (both false)Only the metal pipe, no flow

Choosing the flow and pipe style

Left: FlowStyle — how flow is shown: Dash (default) · Dot · Solid / Right: PipeStyle — pipe type: Single (default) · Double · Insulated
Left: FlowStyle — how flow is shown: Dash (default) · Dot · Solid / Right: PipeStyle — pipe type: Single (default) · Double · Insulated
PropertyDefaultDescription
FlowStyleDashHow flow is shown — Dash (flowing dashes) · Dot (flowing dots) · Solid (filled with color, no animation)
PipeStyleSinglePipe type — Single (plain pipe) · Double (double-walled) · Insulated (insulated pipe)
FlowDirectionForwardFlow direction — Forward (start → end) · Reverse (end → start)
FlowSpeed1Flow speed multiplier (1 = base, larger is faster; above 0 and up to 100)
FlowSpeedDataName(empty)Connect a flow-rate variable (or a tag TAG.name) and the flow speeds up and slows down with the actual flow rate.
PipeThickness12Pipe thickness
FlowBrushGreenFlow color
ShowJointsOnWhether to draw flange collars at bends and both ends

Note The value connected to FlowSpeedDataName is used as is as the FlowSpeed multiplier (limited to 0.01–100, applied when it changes by more than 5%). At 0 or below the flow becomes so slow that it looks almost stopped. If your flow rate is in the tens, keep a separate ratio variable — the flow rate divided by a reference flow rate — and connect that for a sensible speed.

Attaching — sticking a pipe to symbols

When both ends of a pipe are "attached" to symbol ports, the pipe follows when you move the symbols. There are three ways.

MethodHowBest for
Drag snapDrag the pipe end (green square) near a blue portMost cases — the fastest
Property drop-downPick from lists in the order StartAttachName → StartAttachPort (for the other end EndAttachName → EndAttachPort)When symbols overlap and are hard to pick with the mouse
TypingType the name on the keyboardWhen you want to name a symbol you have not created yet
  • To detach, just grab the attached end and drag it away. It comes off keeping its shape at that moment.
  • If StartAttachPort or EndAttachPort is left empty, the pipe attaches to the symbol's first port. If you type a port name the symbol does not have, the pipe is not attached rather than landing on the wrong port.
  • A pipe attaches to symbols in the same container. Symbol names must match exactly, including upper and lower case.

Shaping the route by hand

When both ends are attached, AutoRoute (on by default) creates an L- or S-shaped route automatically. When you shape it by hand, there are two kinds of places you can grab: joints (bend points) and segments. When you hover, the cursor tells you in advance what will move and in which direction.

What you grabCursorDirection of movement
Green jointCrossFree — magnetic snapping helps you align horizontally and vertically
Horizontal segmentUp/down arrowsMoves parallel, up and down only
Vertical segmentLeft/right arrowsMoves parallel, left and right only
Diagonal segmentFour-way arrowsSlides perpendicular to itself, keeping its angle
Orange handle—Where the auto route crosses over
The green squares are joints (bend points) — drag them to change the route.
The green squares are joints (bend points) — drag them to change the route.

Dragging a joint — magnetic snapping

When you drag a joint, it snaps like a magnet to the X and Y axes of the neighboring joints. At the moment it snaps, a dashed guide line appears along that axis to show that "this point is exactly in line now." X and Y are judged separately, so you can align horizontally only, vertically only, or both.

  • The snap range is 8 px on screen. Zoom in and it becomes more precise; zoom out and it snaps more generously.
  • Drag with Shift held to force alignment to the nearest single axis, regardless of distance. Use it to make a line perfectly horizontal or vertical.
  • Drag with Alt held to turn snapping off and place the joint freely.

Moving a whole segment

Grab a segment instead of a joint and drag it, and the segment moves parallel, keeping its direction. A horizontal segment moves only up and down, a vertical one only left and right, and the neighboring segments stretch automatically so the route never breaks. You can do a touch-up like "move just this section down a little" in one go, without moving two joints separately.

Note When you first start dragging a joint or segment, the following is tidied up at once. It happens automatically the moment you actually start moving; if you just click and release, nothing changes.

  • An auto route freezes in its current shape and switches to manual editing. The attachments to symbols are kept.
  • Segments that were almost horizontal or vertical are straightened exactly.
  • If the segment's end is attached to a port, a short joint is added automatically on the port side, so the end stays on the port and only the rest moves.

Adding and deleting joints

  • Right-click on the pipe → Add Point Here adds a joint and Delete Point Here deletes one. This also switches an auto route to manual.
  • Turn AutoRoute off to fix the route; it is then fully manual.
  • The bend point coordinates are stored in the Points property in the x,y;x,y;... format.

When the auto route overlaps other equipment

If the auto route passes over another symbol, drag the orange handle to move where it crosses. You can also adjust this with properties. The auto route does not avoid obstacles by itself.

Route shapePropertyDefaultDescription
S-shaped route between facing portsRouteMidRatio0.5Where the route crosses (0.05–0.95; 0.5 is the middle)
U-shaped route between ports facing the same wayRouteMidOffset0How far (px) to push the route further out from the outer port. It is not limited to the space between the ports, so you can pull it out as far as you like
RouteMidRatio 0.25 · 0.5 (default) · 0.75 — the crossing point marked by the orange handle moves.
RouteMidRatio 0.25 · 0.5 (default) · 0.75 — the crossing point marked by the orange handle moves.

Note A habit that makes it easier — place all the symbols and name them first, then connect the pipes. Even if you rename a symbol later, the pipe connections follow automatically, and when you copy symbols and pipes together the copies connect to each other.

All the mouse operations for pipe editing are summarized in one table in the Property Reference.

Subscribe