Junction BoxTagging Workflow
Turn conduit Type Names into service values, transfer them to Junction Boxes, then create and combine Text Notes in Revit.
Start with button 01Extract the service code
Read the Type Name of each Conduit and write the service code to its instance text parameter.
Configure · Shift + click
- Choose Conduits and the Families you want to process.
- Enter *_<TEXT>. Preview G.I. Conduit_25mm_fl → FL. Select the writable instance target, such as TEXT, and click Save.
See the settings window and controls ↓
Run · click
- Click the button. Choose Visible in Current View or Manual Selection.
- For Manual Selection, use preselected Conduits or pick them in Revit and click Finish.
Check the result
In the report, find FL in the resulting value. A name that does not match the pattern or an existing value protected by your settings can cause a skip.

Watch the Revit demo
G.I. Conduit_25mm_flTEXT = FLConfiguration Window
Rendered from the tool’s current window layout with example values. Family names, parameter names and Text Note Types depend on your Revit project.

Categories / Families
- Categories
- Choose the model categories whose Type Names are read. For this workflow, start with Conduits.
- Select All
- Checks every available Category.
- Select None
- Clears all Category checkboxes. Then check the categories you need.
- Families
- Choose which Families in the enabled categories to process. If a category has only one Family, its row is locked on. Clear the Category to exclude it.
Extraction
- Example Type Name · dropdown
- Loads a Type Name from the selected Families into the example field below.
- Example Type Name · input
- Type or edit a sample freely to test the rule. It leaves the model’s Type Names as they are.
- Custom pattern
- Enter the extraction rule. * matches any text and <TEXT> marks the part to keep. *_<TEXT> reads the part after the last underscore. <TEXT>-* reads the part before the first hyphen.
- Preview
- The dotted frame shows the trimmed uppercase result, a no-match message or a pattern error. For example, G.I. Conduit_25mm_fl → FL.
Target instance parameter / actions
- Target instance parameter
- Choose a writable Text instance parameter, such as TEXT. A count like (8/10) means only eight of ten configured instances have that writable parameter.
- Replace existing value
- Checked allows writes into a nonempty parameter. Leave it clear to protect existing values.
- SAVE
- Stores this command’s configuration for the current project. A valid pattern and a selected target are needed. Run the ribbon command separately to write model values.
- CANCEL
- Closes the window and discards the edits from this session.
Pass it to the Junction Box
Read the service from nearby Conduits and write it to the selected Junction Boxes.
Configure · Shift + click
- Select the Category and Families used by your Junction Boxes, for example Conduit Fittings or Electrical Fixtures.
- Enable Use Type Name to Text output or choose the source parameter yourself. Choose a writable Junction Box target. Start with the default 25 mm scan offset and leave Replace Existing Value off for the first run. Save.
See the settings window and controls ↓
Run · click
- Preselect the Junction Boxes, then click the button. You can also run it first and choose picking, window selection or all matching visible Boxes.
Check the result
Check that the Box now reads FL. If nearby Conduits contain different services, that Box is skipped. Open the report to see which Conduits were detected.

Watch the Revit demo
Conduit · TEXT = FLJunction Box · TEXT = FLConfiguration Window
Rendered from the tool’s current window layout with example values. Family names, parameter names and Text Note Types depend on your Revit project.

Junction Boxes to process
- Junction Box model categories
- Choose the categories used by your Junction Boxes, such as Conduit Fittings or Electrical Fixtures.
- Families
- Check the specific Junction Box Families to process in each enabled category.
- Select All
- Checks all Family rows in the enabled categories.
- Select None
- Clears the Family rows in the enabled categories.
- Type name contains (optional)
- Narrows the selected Families to Types whose name contains the text, ignoring letter case. An empty field accepts any Type within those Families.
Conduit detection
- Scanning offset (mm)
- Expands the Box’s bounding box by this distance on each side. Start with 25 mm. Set a smaller value if an unrelated neighboring Conduit is picked up.
- Conduit scanning scope
- Entire Host Model searches host-model Conduits even outside the active view. Current View Only limits scanning to Conduits in the active view.
- Validate full centerline and radius
- Adds a geometry check using the full Conduit centerline and its outside radius. It helps reject diagonal runs whose bounding boxes overlap without the Conduit passing near the Box.
Conduit service transfer
- Use Type Name to Text output
- Uses the parameter selected as the target in step 01. Checking it locks the source dropdown to that name.
- Source Parameter in Conduit
- When upstream linking is off, choose which Conduit text parameter to read.
- Target Parameter in Junction Box
- Choose the writable Junction Box text parameter that receives the common service. Step 03 should read this parameter.
- Replace existing value
- Checked allows replacement when a Box already has a value. Leave it clear to fill blanks only.
- Sample Junction Box Preview
- Shows the sample Box ID and its current → proposed value. It can also report a scan problem or which sampled Families lack the target.
- SAVE
- Stores this command’s settings for the current project. Click the ribbon button afterward to transfer values.
- CANCEL
- Closes the window and discards the edits from this session.
Create the drawing note
Create a Text Note with a leader for each selected Junction Box in a Plan, Section or Elevation.
Configure · Shift + click
- Choose the Junction Box Families. Enable Use Transfer output or point to the same Junction Box parameter you filled in step 02.
- Choose the Text Note Type, review the template and sample, and set placement. Save.
See the settings window and controls ↓
Run · click
- Open your drawing view, select matching Junction Boxes and click the button. You can also pick or window-select Boxes after clicking.
- For Manual placement, pick the top of the note column once.
Check the result
Compare the service, diameter, signed elevation and leader with the model. Diameter comes from detected Conduits in the view. B.L. and M.L. both use the Family Insertion Point relative to the Project Base Point.

Watch the Revit demo
1 no. JUNCTION BOX AT B.L.+2.650 WITH 25MM CONDUIT FOR FLConfiguration Window
Rendered from the tool’s current window layout with example values. Family names, parameter names and Text Note Types depend on your Revit project.

Junction Boxes / Conduit Detection
- Junction Box model categories
- Choose the categories used by the Junction Boxes you want to annotate.
- Families
- Choose the eligible Families from the current view. If an enabled Category has only one visible Family, that Family is selected automatically.
- Type name contains (optional)
- Use a substring of the Type Name to narrow the boxes. Leave empty to accept all Types under the selected Families.
- Scanning offset (mm)
- Expands each Box’s detection bounds when looking for Conduits in the active view. The detected Conduits supply the diameter for the Text Note.
- Validate full centerline and radius
- Adds a check of the entire Conduit centerline and outside radius to reject false overlaps.
Text Note

- Use Transfer output
- Uses the Junction Box target set in step 02. Checking it locks the service parameter field to that name.
- Junction Box service parameter
- When upstream linking is off, type the exact name of the Junction Box text parameter that supplies the service.
- Text Note Type
- Select an existing Text Note Type in the project. Its Revit settings control formatting such as font and text size.
- Insertion point label
- Choose B.L. or M.L. for the label next to the elevation. Both use the same Family Insertion Point relative to the Project Base Point.
- Decimal places (metres)
- Controls elevation precision from 0 to 6 decimal places. With 3, a 2.4 m elevation displays as +2.400.
- Maximum Text Note width (model mm)
- Sets the wrap width in model millimetres. Revit checks the allowed range for the selected Text Note Type at the active view scale.
- Annotation template
- Controls wording, field order and line breaks. Include {Quantity}, {BoxDescription}, {LevelType}, {Elevation}, {ConduitDescription} and {Service}, plus uppercase AT, WITH and FOR. Keep FOR {Service} at the end for Combine.
- Text Note Preview (Sample)
- Shows sample note text using the chosen label, precision and template. It uses fixed sample data to show wording.
Graphics

- Arc Leaders
- Checked creates curved leaders. Clear it for straight leaders.
- Left Attachment
- Sets the height of any leader attached on the left side of the note: TopLine, Midpoint or BottomLine.
- Right Attachment
- Sets the same attachment height independently for leaders on the right side: TopLine, Midpoint or BottomLine.
- Horizontal Align
- In Automatic mode, aligns note text Left, Center or Right. Manual mode chooses Left or Right to suit the column and leader direction.
- Vertical Align
- In Automatic mode, anchors the note at Top, Middle or Bottom. Manual columns use Top alignment.
- Keep Readable
- Lets Revit keep rotated note text readable.
Placement

- Placement
- Automatic places new note heads using the offsets below. Manual asks you to pick the top of the note column once.
- Horizontal offset (model mm)
- In Automatic mode, moves a new note head horizontally from its leader target. Positive moves right in the view. Negative moves left.
- Vertical offset (model mm)
- In Automatic mode, moves a new note head vertically from its leader target. Positive moves up. Negative moves down.
- Clear gap between notes (model mm)
- In Manual mode, sets the extra blank space between notes in the column. Use a positive value.
- Specify landing length
- Available with Manual placement and straight leaders. Enables control of the short horizontal leader segment by the text.
- Landing length (model mm)
- Sets the horizontal segment length when Specify landing length is checked. A positive value sets the length. Zero leaves the standard leader geometry.
Report / actions
- Show report after generation
- Opens the results report after generation. Clear it for routine runs if you prefer to keep the drawing view clear.
- Save
- Stores the settings in the current project’s profile. To create the notes, run the ribbon command afterward.
- Cancel
- Closes the window and discards the edits from this session.
Combine matching notes
Bring selected Text Notes with the same service together. Ordinary Text Notes and generated notes both qualify.
Combine runs directly. It has no Configuration Window.
Run · click
- Open a Plan or Section. Preselect at least two Text Notes and click the button. Alternatively, click first and choose Pick Text Notes (then Finish) or Window Selection (drag from right to left).
- Make sure every selected note has the same non-empty service after its final FOR, such as FOR FL. A missing or different service skips the whole selection with a warning.
Check the result
Matching descriptions with no. or nos. quantities add together. Different descriptions stay on separate lines. Leader endpoints carry over. Notes merge within each owning view. The command finishes without a report.

Watch the Revit demo
1 no. JUNCTION BOX FOR FL + 1 no. JUNCTION BOX FOR FL2 nos. JUNCTION BOX FOR FL