Sizing Mainline: Recursing Pipe Process Taking an Extremely Long Time
Issue
While sizing the mainline pipe in your irrigation design, you're noticing that the Recursing pipe process is taking an excessive amount of time.
Cause
We've seen this issue result from an old bug that causes mainline to break after a valve is placed. When you go to place a valve on existing mainline, the bug causes the mainline to break on either side of that valve.
Solution
Step 1: Determine which valve(s) are causing the issue.
1A. Type FXDEBUG in the Command line and press Enter.
1B. Open our UCS tool, and ensure that your drawing is set to World Coordinate System (WCS).
1C. Size the mainline. Keep an eye on the Command line, and wait until the pipes recurse and start running through the sizing command.
At some point, the process will appear to freeze. When that happens, press the ESC key to end the sizing command.
1D. Press the F2 key to access the command history.
1E. Scroll to the beginning of the error output, starting after (/nil 100.0)
Can't get to the top of the list of commands?
If you cannot get to the top of the list, you probably have a limited command history list and will need to extend the history before continuing. To do so, copy and paste the following text, including the parentheses, into the Command line.
(setenv "CmdHistLines" "2048")
Press Enter after pasting the text into the Command line.
This command will extend your history, allowing you to get to the top of the error causing your issue.
Size the mainline again to restart the process. Press the F2 key again to open the command history, if it isn't open already. Then move on to the next step.
1F. Immediately after (/ nil 100.0) in the command history, you should see something similar to (SIZEPIPES ("xxx" "aaaa" "bbbbb")) directly before several other SIZEPIPES lines.
Take note of the first handle from the first line (in this example, the first handle will be xxx).
1G. Copy and paste the following text into the Command line:
(setq p (entget (handent "handle id")))
Important: After pasting the command into the Command line, replace the text handle id with the handle you noted in the previous step. In our example, you'd replace handle id with xxx, so the pasted command would be:
(setq p (entget (handent "xxx")))
Press Enter to run the command.
Step 2: Locate and correct the piping issue.
2A. Type LINE in the Command line and press Enter.
When prompted to set the First point, copy and paste the following text into the Command line:
!(cdr (assoc 10 p))
You'll now have a line that extends directly to the problematic pipe segment.
2B. Delete and redraw that pipe segment.
2C. Size the mainline again.
2D. Repeat these steps for each errant pipe segment in your plan until you're able to size the mainline without the hangup.