VietPer.

A .NET publication · published by VietPer

← Back to VP_RevitAPI

Connect the farthest sprinkler (ASKPipe2)

Filter and process the ASKPipe2 pipe group.

Ribbon location:
VP_MEP > Fire fighting
Command:
ASKPipe2

1. Purpose

Runs the branch along the farthest SK when the sprinkler row has no clear straight direction like ASKPipe1 needs. The tool finds the farthest SK and uses it to build the trunk axis, offering a Tee finish (trunk overshoots the SK by 300 mm) or an Elbow finish (trunk ends exactly at the farthest SK).

2. Quick video (≤ 2 minutes)

[Video in production — follow the steps below for now.]

3. Steps

  1. Pre-select all sprinklers to connect. [image 01: selecting many SKs]
  2. Click ASKPipe2 in the VP_MEP tab, Fire fighting panel.
  3. Pick 1 point on a sample pipe — the tool learns pipe type, system, and level from it.
  4. A dialog asks which farthest-SK style to use: pick Tee so the trunk runs 300 mm past the farthest SK, or Elbow so it ends right at the farthest SK. [image 02: Tee/Elbow picker dialog]
  5. If the tool cannot build the axis, it asks for one reference SK — pick a sprinkler that represents the row's direction.
  6. The tool draws the DN25 trunk and joins each SK, reporting how many connected out of the total.

4. Real-world example

A big meeting room has 9 sprinklers scattered around, the farthest one in the corner. Select all 9, run the command, pick the sample, choose Elbow — the trunk runs exactly to the corner SK and all 9 join in, no manual direction measuring.

5. Common errors

SymptomFix
"Vui long pre-select cac Sprinkler can ket noi truoc khi chay lenh."Select at least 1 sprinkler before running the command
"Khong doc duoc template PipeType/System/Level tu pipe sample."Check the sample pipe (type/system/level)
The tool asks for an extra reference SKPick one SK along the row's direction and let it continue
"Pipe sample dang gan thang dung, khong tao duoc truc ASKPipe2."The sample is near-vertical — pick a horizontal sample
"Da ket noi X/Y SK" plus a failure listThose SKs failed to join — check each one's position

6. See also