Wire Numbers
A wire number is the identifier carried by a wire (e.g. L1, K5, PE).
One electrical connectivity shares one wire number: a group of wires merged by junctions, or a single potential network,
all carry the same number.
Numbering Entry Points
| Command | Location | Behavior |
|---|---|---|
| 全部重新编号 (Renumber All) | 图纸 ▸ 全部重新编号 (Sheet ▸ Renumber All, ⇧⌘R) | Renumbers every unlocked wire number across all sheets of the drawing, according to the current rules. |
| 仅选中导线重新编号 (Renumber Selected Wires Only) | 图纸 ▸ 线号 (Sheet ▸ Wire Numbers) | Renumbers only the selected wires (unavailable when nothing is selected). Each hit wire takes the same number as its group/network members. |
| 线号规则… (Wire Number Rules…) | 图纸 ▸ 线号 | Opens the rules panel. A Pro feature; in the free version the item reads 线号规则…(Pro) and clicking it shows the Pro explainer. |
The Wire Numbering Rules Panel
The panel (titled 线号编号规则, Wire Numbering Rules) has six settings and two buttons, 取消 (Cancel) / 应用 (Apply):
| Field | Default | Description |
|---|---|---|
| 主回路前缀 (Main-circuit prefix) | L | Used for networks connected to 电源输入/电源输出 (power input/power output) pins. |
| 控制回路前缀 (Control-circuit prefix) | K | Used for networks connected to 信号输入/信号输出 (signal input/signal output) pins. |
| 信号回路前缀 (Signal-circuit prefix) | W | The fallback prefix for all other networks (passive pins, unconnected pins, etc.). |
| 起始序号 (Start number) | 1 | Each prefix starts counting from this number independently. |
| 步长 (Step) | 1 | E.g. start 1 + step 10 yields L1、L11、L21… (L1, L11, L21…) |
| 编号方式 (Numbering mode) | 按图纸顺序 (By sheet order) | Options: 按图纸顺序 (By sheet order), 按电位网络 (By potential network), 按分区 (By zone) — see below. |
The note at the bottom of the panel reads: 锁定线号在重新编号时会被保留;接地网络统一编号为 PE。 (Locked wire numbers are preserved on renumbering; grounding networks are numbered PE as one.)
Choosing a Numbering Mode
- By sheet order: pages are processed one by one; within a page, order follows the first landing point top-to-bottom, left-to-right, and numbering is taken per group of wires merged by junctions. If a network reaches another page through interrupts, each page numbers independently (different numbers, but the circuit is still electrically connected).
- By potential network: numbering is per project-wide network; networks merged across pages by same-named interrupts share a single number across the whole project, with sequence still ordered by each network's first wire position.
- By zone: currently runs the same algorithm as by sheet order; it is reserved for a future zone-first strategy. For existing drawings the two produce identical results.
Tip
Fixed potential names take priority over prefix + number. When symbol pins carry a potential group
(N, L1/L2/L3, DC24V, 0V, SG, etc.),
the wire adopts that name directly as its number and consumes no sequence; all ground-type pins (PE),
once merged, are numbered PE as one. This is why three-phase incoming lines show L1, L2,
L3 rather than L4, L5, L6. If a kind of component (for example an interrupt)
has pins without a potential group, the networks it joins fall back to prefix + number, which may disagree with your expected
"same number across pages" — in that case switch to by potential network or fill in the number by hand.
Manual Numbers and Locking
- Manual entry is free: select the wire and type directly into
导线属性 ▸ 线号 ▸ 编号 (Wire Properties ▸ Wire Number ▸ Number), e.g.
1U-1V. Clearing the field returns the wire to an unnumbered state. - 锁定线号(重编号时跳过) (Lock wire number — skip when renumbering) is a Pro feature: once checked, that wire number stays unchanged through any renumbering operation, and the other wires in the same group/network adopt this locked number. The hint by the checkbox reads "重编号时保留此线号" (Keep this wire number when renumbering).
- Numbers already in use (including locked ones) are skipped during automatic numbering, so you never end up with two
L5s.
Where Wire Numbers Appear
The number is drawn at the midpoint of the wire's longest segment: above and centered for a horizontal segment, to the right for a vertical segment. Label placement is chosen by the automatic layout engine, which avoids components, other wires, text, potential names, and the title block; if the automatic position is not what you want, drag the label directly (the drag is remembered), or double-click it / right-click and choose 恢复标签自动布局 (Restore Label Auto Layout) to hand it back to the program. See the note on labels at the end of Interrupts and Cross-References.