View Full Version : Service Break
HybridAWD
02-08-2007, 11:36 AM
Easy Question:
So spec break is a function to change the spec of a line but what about service break? I have a service that I need to find a way to split near the end of a pipe run.
PeterJ
02-08-2007, 12:37 PM
I wrote a linebreak command for Enel (Italy) that allows to break a line on 3 values. When I have the time (early 2008 ...), I'll check if I can make a linebreak command where the field you want to 'break' is a variable.
In the meanwhile, just use the specbreak, but enter the same spec again and CATT on the new run to change the service. You'll need to erase the existing annotation and place it again with annotation tool.
HybridAWD
02-09-2007, 08:53 AM
Ok so let me make sure I have this correct:
Place a spec break, give it the same spec as the original line (we'll see SS1)
Now CATT on the new run and change the service and spec to whats needed.
Now you state to replace the annotation on the line?
When i tried this, it changed the service for both runs. Anymore insight?
PeterJ
02-09-2007, 10:15 AM
The PSERV field is only in the process table, so the value will be the same for all runs ... If you want it to be different for each run, add a field (fe "runserv") to the pipe_run table and to the pipe-run tab in the catt-dialogs.
The spec is in the process (pspec_nom) AND pipe-run (pspec) table, so you can have a global (nominal) spec for the line, but a run with a different spec.
You can also switch the flag in the pid-sup.lsp to have a new process in stead of an additional run when placing a reduction or spec break
search for
;(setq NewReducerProcess t
; NewReducerFieldUpdate '("PLANT_KEY" "IINPUT")
;)
I could create a small command that prompts you when placing a SB or RED if you want a new run or new process to be created. Wave a hand if you need this.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.