Cable Numbers
A cable number is the short label that names one cable on a schematic, such as A100. Your company decides once, on Global Config, how its cable numbers read.
What a cable number is
A wire is a line on the schematic that joins two device ports, and it stands for one real cable. A cable number is the label that names that cable. While the Cable# toggle on the schematic toolbar is on, the schematic prints it on the wire, in a small box near each end, just past the port. A short wire has room for only one box, so it shows its number once, in the middle. The same label goes on both ends of the real cable, so an installer can match a cable in the wall to its line on the drawing.
Every cable belongs to a cable category. A cable category is the kind of signal the cable carries. There are eleven categories, and each one has a fixed one-letter name, called its registry letter:
- A — Digital Audio
- M — Mic Level
- L — Line Level
- S — Speaker Level
- V — Baseband Video
- N — Network/Ethernet
- U — USB
- C — Control
- R — RF/Coax
- F — Fiber
- P — Power
A wire gets its cable number when you choose its category. Right-click the wire, choose Assign Cable Type, and pick a category by its letter. The Signal Flow Diagrams page walks through these steps. The same menu also has Cable Run…, described under Picking the cable run below.
Each category keeps its own count within a schematic. Out of the box, the first Digital Audio cable is A100, the next is A101, and the first Baseband Video cable is V100. These are the default labels, and the rest of this page explains how your company changes them.
The company pattern
The pattern is your company's rule for how a cable number is put together. It is a row of parts, read from left to right. A part is either a variable, which is filled in for each cable, or fixed text, which is the same on every cable.
The default pattern is the category's letter followed by a three-digit running number. It gives labels such as A100.
The pattern lives on the Global Config page. Open Global Config, under Admin in the navigation menu, and find the Cable numbers panel. The top row of the panel shows the pattern as a row of boxes, one box for each part.
One pattern covers every way a cable gets its number: the wire's right-click menu, the schematics copilot, Claude Desktop and the REST API. A schematic that is already open uses a new pattern for its next cable number, without being reopened. Read-only users see the panel but cannot change it.
Variables
A variable is a part of the pattern that is filled in for each cable. There are four variables, and a fifth kind of part holds fixed text:
- Type — the code of the cable's category. A code is short text that stands for a category. By default it is the registry letter, such as
Vfor Baseband Video. The next section explains how to change it. - Sequence — the cable's running number within its category, such as
100,101and102. Sequence counts across the whole schematic and does not restart on each sheet. Every pattern holds exactly one Sequence. - Sheet — the number of the sheet that the wire's source device sits on. A sheet is one page of the schematic, and the first page is sheet 1. The source device is the device the wire starts from.
- Room — the first three letters or digits of the source device's room name, in capitals. A device in Conference Room gives
CON. A device with no room givesRM. - Text — fixed text that you type, such as a building code. Text is limited to letters, digits and the characters
._/-.
Sequence digits sets how many digits Sequence shows, from 1 to 6. The default is 3. A shorter number is padded with leading zeros, so with 4 digits the number 100 shows as 0100. A longer number is never cut short, so with 3 digits the number 1000 shows as 1000.
To change the pattern, work in the row of boxes:
- Choose what a box holds from the menu in that box: Type, Sheet, Room or Text. A Text box also has a field for its text. The Sequence box has no menu and cannot be removed.
- Click + at the end of the row to add a box at the end. Click the × in a box to remove it.
- Click the left or right arrow in a box to move that part one place.
- Pick the separator between two boxes from the small menu between them:
-,.,_,/or none. - Set Sequence digits below the row.
The Preview below the row shows the first cable number of every category under the pattern. It uses sheet 1 and a room named Conference Room as samples. The pattern saves on its own a moment after each change, with the rest of the page.
Click Advanced to see the same pattern written out as text, such as {Type}{Seq}, and to type a pattern there. In that text the variables are written {Type}, {Seq} for Sequence, {Sheet} and {Room}. Everything else is fixed text, which is limited to letters, digits and the characters . _ / -. Any other name in braces, such as {Floor}, is refused.
A pattern starts with a variable, a letter or a digit. A pattern is refused if its labels could be longer than 40 characters, counting every variable at its longest. When a pattern is refused, a red message below the row says what is wrong, and the last valid pattern stays in use until you fix it.
For example, Sheet, then Type, then Sequence, with - between the parts, gives 2-V-104 for the fifth Baseband Video cable when its source device is on sheet 2.
Codes and start numbers
Below the pattern, the Categories table lists the eleven categories. Each row has three settings:
- Code is the text that Type shows for that category. It is at most 10 characters long, made of letters, digits and the characters
._/-. A code can also be empty, and then Type shows nothing for that category. - Start number is the first Sequence number the category uses in a schematic. It is a whole number of 1 or more, and the default is 100.
- Default product is a cable product from your catalog that the cable schedule uses for wires of that category. A cable run is a cable row in Project Details, on the equipment line of one of a wire's two devices, whose cable type is in the wire's category. When a wire has no cable run, the Part Number column of the Cable Schedule Excel Export shows its category's default product. It is also shown when the run's cable type has no product. To set it, type a make, model or part number in the box, press Enter or click the search button, and click a product in the list. It saves at once. To change a product that is set, click the search button next to it first. Click ✕ next to the product to clear it.
A code or start number saves when you leave the box you changed. The Preview above it updates to match. If a value is not allowed, a red message under the row says why, and nothing is saved. Click Reset on a row to return its code to the registry letter and its start number to 100; the row's default product stays as it is. The link shows only on a row whose code or start number differs from those defaults.
A new cable gets the next number in its category. That number is the larger of the category's start number and one more than the highest number the category already uses in the schematic. A new start number therefore takes effect when it is higher than every number its category already uses in the schematic; below that, numbering continues from the highest number in use. If the resulting label is already on another cable, the number moves up until the label is free.
If the pattern leaves out Type, the panel warns that categories are told apart only by their start numbers. In that case, give each category its own range of numbers, such as 100 for Digital Audio and 500 for Baseband Video.
The pattern, Sequence digits, and the codes and start numbers together make up your company's cable number scheme. Until someone changes them, they form the default scheme: the pattern {Type}{Seq}, 3 digits, each category's registry letter as its code, and 100 as every start number.
Changing the pattern later
A change to the pattern, to Sequence digits, to a code or to a start number applies to the cable numbers assigned after it.
The pattern applies to cable numbers assigned from now on. Existing cables keep their labels. Use Renumber cables on a schematic to apply it to them.
Assigning a cable again to the category it already has keeps its number, and its label is redrawn in the current pattern. If the redrawn label is already on another cable, the number moves up until the label is free. Assigning a cable to a different category gives it the next number in the new category.
Renumbering existing cables
Renumber cables applies your company's current scheme to the cables already on a schematic. It rewrites the label of every numbered wire and every numbered flag. A flag pair is two flags that carry one cable from one sheet to another, so both flags show the same cable number, and Renumber gives both flags the same new label. A numbered flag without a partner is renumbered on its own.
- Open the schematic and click Export on the schematic toolbar.
- Find the Renumber cables card, below the Cable Schedule card, and click Renumber. Read-only users do not see this card.
- The Renumber cables dialog says how many numbered wires and flag pairs the schematic has. A numbered flag without a partner counts as one flag pair. Keep each cable's sequence number (recommended) is selected when the dialog opens. Choose one of the two modes described below.
- Click Renumber.
The two modes:
- Keep each cable's sequence number (recommended) — each cable keeps its Sequence number, and its label is written again in the current pattern, with the current codes and Sequence digits. If two cables would end up with the same label, one keeps it and the other's number moves up until its label is free. The dialog lists the labels that moved, so you can find those cables on the drawing.
- Restart each category from its start number, in page order — each category is numbered again, starting from its start number. Page order means sheet 1 first, then from top to bottom on each sheet, then from left to right, then by port. A wire takes its place from the device it starts from, and a flag pair from whichever of its two flags comes first. Within a category, wires are numbered first and flag pairs after them.
When Renumber finishes, the dialog reports how many labels were rewritten and how many were unchanged. A wire has one label and a flag pair has two, one on each flag, so a flag pair counts twice and a flag without a partner counts once.
On the schematic page, Renumber changes the labels on the drawing but does not save it. To keep the new labels, click Close in the dialog, click Back under the Summary card at the top of the Export step to return to the drawing, and click Save in the FILE group of the toolbar. The Back button at the top right of the page goes to the project instead, without saving. To discard the new labels, reload the page without saving. Anyone else who has the schematic open sees each relabelled wire and flag change as it happens, and if one of them saves, their save keeps the new labels for everyone, as with any other live edit.
Renumber leaves a label as it is in two cases. The first is when the device it belongs to is no longer on the schematic: for a wire, the device the wire starts from, and for a flag, the device the flag is on. The second is when the letter stored with the label is not a registry letter. A registry letter is the fixed one-letter name of a cable category, from the list of eleven at the top of this page. AVstackr stores a registry letter with every cable number it assigns, whatever code the label shows, so this case arises only on older labels. No other cable is given a label that Renumber leaves in place, and when one flag of a pair is left as it is, so is the other.
The schematics copilot, the assistant you chat with on the schematic page, and Claude Desktop renumber cables with the tool renumber_cables. Its mode is keep_sequences for the first mode or restart_from_series for the second. The dialog, the copilot and Claude Desktop plan the numbers by the same rules, so the same drawing gets the same labels from each. A renumber by the copilot changes the schematic you have open, and you click Save to keep it, as with the dialog. A renumber from Claude Desktop or the REST API is saved at once.
A restart can give any cable a new number. Keep each cable's sequence number changes labels too, wherever the pattern, a code or Sequence digits changed, or a number moved to avoid a duplicate. Labels already printed and fixed to cables on site then no longer match the drawing, so every label the dialog counts as rewritten needs to be reprinted.
Picking the cable run
The Cable Schedule Excel Export, described on the Signal Flow Diagrams page, prints each wire's part number and length from the cable rows in Project Details. These terms are used below:
- A cable type is an entry in your company's cable catalog, such as Cat6 Plenum, kept in Manage Cable Types on the Global Config page. A cable type can carry a cable category, such as Network.
- An equipment line is a product row of a room in Project Details. Its Cables cell holds cable rows, and each cable row names a cable type. A device is on an equipment line when the device's room is the line's room and the device is the line's product or has the line's make and model.
- A wire's two ends are its From end, at the device the wire starts from, and its To end, at the device it goes to, as in the From and To columns of the cable schedule. The schematics copilot, Claude Desktop and the REST API call them the source end and the destination end.
- A wire's category is the category of its cable number. A wire without a cable number uses the category it was drawn with, and so does a wire whose cable number's stored letter is not a registry letter, which happens only on older labels.
- A cable run is a cable row, on an equipment line of the device at either end of a wire, whose cable type has the wire's category. Two identical cable rows on one equipment line count as one cable run.
When a wire has one cable run, the cable schedule prints from it. When a wire has two or more, such as a Cat6 Plenum row on the display's line and a Cat6 Riser row on the switch's line, the schedule does not choose between them and leaves the wire's part number and length empty. Picking the cable run tells the schedule which one to print. To pick it on the schematic:
- Right-click the wire and choose Cable Run…. The entry is on the menu when you right-click one wire, and not when you right-click a wire that is part of a selection of several. A read-only user who chooses it sees "You don't have permission. Contact your administrator.", and the dialog does not open.
- The Cable Run dialog lists Automatic first, then one option for each end of the wire and each cable type with a cable run at that end. An option names the cable type, then its end, From or To, with the device at that end, led by the device tag of the unit its block has picked when it has one, and the device's room, then the cable row's number of runs and the equipment line's make and model, for example "Cat6 Plenum · From: Display (Boardroom) · 1 run · Sony FW-85BZ40L", or "Cat6 Plenum · From: TV-001 Display (Boardroom) · 1 run · Sony FW-85BZ40L" when the Display block has a unit with the tag TV-001, followed by the row's length, "150 ft". The make and model are left out when they are the same as the device's name. A cable priced per piece shows "per piece" in place of a length. Saved marks the option saved on the wire, or Automatic when the wire has no saved pick, and stays there while you choose other options.
- Choose the cable run the wire prints from, or choose Automatic to leave the choice to the schedule.
- Click Save.
When the schedule finds the wire's one cable run on its own, the dialog names it under Automatic, for example "matched: Cat6 Plenum on Display", or "matched: Cat6 Plenum on TV-001 Display" when the display's block has a tagged unit. Below the options, Part and Length show what the cable schedule prints for the wire with the option that is selected. They change as you choose another option, and nothing is stored until you click Save.
On the schematic page, Save in the dialog stores the pick on the wire but does not save the drawing. To keep the pick, click Save in the FILE group of the toolbar, as with any other change to the drawing. Saving with Automatic selected clears the pick, so the wire prints as it would without one. Anyone else who has the schematic open sees the new pick without reloading, including in a Cable Run dialog they have open on the same wire, and if one of them saves, their save keeps the pick.
A pick names a cable type and an end, not one particular cable row. When the device at one end holds two or more cable runs of the same cable type, such as a 150 ft Cat6 Plenum row and a 20 ft Cat6 Plenum row on the display's line, a pick of that cable type on that end does not tell the schedule which run to print. The dialog lists such an option greyed out and not selectable. Its label stops at the cable type, the end, the device and the device's room, with no number of runs, make and model or length, because no single row speaks for it. A sentence below it names the cable type by its catalog id and its name and gives the number of runs, for example "Cable type 12 Cat6 Plenum has 2 runs on the source end of this wire, so picking it names no single run." Two identical cable rows on one equipment line are one cable run, so they can be picked.
A saved pick can stop naming a run, for example when its cable row is deleted in Project Details. The dialog then selects Automatic and says so beneath it, for example "The saved pick, Cat6 Riser on the From end, no longer names a run on this wire; Save with Automatic clears it." Nothing in the dialog is marked Saved. Until the pick is cleared, the schedule prints the wire as if it had no pick.
When no cable row matches the wire, the dialog lists only Automatic and says why. A wire whose devices hold no cable run reads "No cable rows on this wire's devices carry the Network/Ethernet category.", with the wire's own category in place of Network/Ethernet. A wire with no category reads "This wire has no cable category, so no Project Details cable row matches it."
The schematics copilot, Claude Desktop and the REST API read each wire's cable run along with the wiring: read_connections on the copilot, read_schematic_connections on Claude Desktop and GET /api/v1/schematics/project/{projectId}/canvas/connections on the REST API give every wire a cableRun. Its source is matched when the schedule finds the wire's one cable run on its own, picked when a pick names the run, ambiguous when the wire has two or more cable runs and no pick names a single one, and none when the wire has no cable run. It also gives the cable type and end of the run the wire prints from, when it has one; the partNumber and lengthFt the cable schedule prints, lengthFt being null for a cable priced per piece; and, when the wire has more than one cable run to choose from, the candidates.
The same three pick a wire's cable run with the tool set_cable_run. On the REST API it is POST /api/v1/schematics/project/{projectId}/canvas/cable-runs/set, which needs a key with write access. The tool takes the wire's two ends, the id of a cable type from your catalog (cable_type_id on Claude Desktop, cableTypeId on the copilot and the REST API) and the end, source or destination, whose device's equipment line holds the cable row. A cable type id of null, or none at all, clears the pick and returns the wire to automatic matching. A pick that is not one of the wire's cable runs, or that names two or more runs on one end, is refused with a sentence that says why and the rule cables.runs-come-from-the-project, and nothing changes. A pick by the copilot changes the schematic you have open, and you click Save to keep it, as with the dialog. A pick from Claude Desktop or the REST API is saved at once, and every open copy of the schematic shows it without reloading.
Where the number appears
- On the schematic, in a small box on the wire near each end, or once in the middle of a short wire, on screen and in the schematic's PDF export, while the Cable# toggle is on.
- On a flag or jump tag that carries a cable number, in a small box on the flag's line, between the port and the flag. The line grows longer to make room for the box.
- In the Cable Number column of the Cable Schedule Excel Export, described on the Signal Flow Diagrams page.
- In what the schematics copilot and Claude Desktop read back with
read_cable_numbers. Each number comes with its registry letter, its category, its Sequence number and its full label.
