PDA

View Full Version : Change Pipe Type



kkopp2005
11-12-2009, 07:49 AM
Does anyone know of a way to add additional pipes to the [change pipe type] option under the P&ID-Tools menu? I found where it was located in the PID.mnu file and added one for our boiler feed water lines [bfw].

From PID.mnu file:
ID_ModPipe [->Change Pipe Type ]
ID_ModMaj [To Major ]^CMNP;at_chgPipemajor
ID_ModMin [To Minor ]^CMNP;at_chgPipeminor
etc...
ID_Modbfw [To BFW ]^CMNP;at_chgPipebfw (This is the one I added)

After adding and I go through the motions and select the BFW option. I get the following error: Unknown command "AT_CHGPIPEBFW"

I know that I can just use the user define option if all else fails. But it would be nice to have this option customized.

PartRidge
11-12-2009, 10:25 AM
at_chgPipeBFW needs to be defined. The at_chgPipeMajor and Minor are lisp routines coded by Bentley and stored within the PID*.com files.

If memory serves, I thought there was also an option for changing a pipe to match a selected pipe. I don't have access to check at the moment.

bioPiper
11-13-2009, 04:17 AM
Try this:

ID_ModBFW [To BFW ]^CMNP;at_chgPipeInt;BWF;

Be sure that the appropriate layers are set in the pid-sup.lsp file.

It may have to also be included in "piperun_types"

(setq piperun_types
'( "MAJOR" "MINOR" "MAJOR-NW" "MINOR-NW" "MINOR-EX" "MAJOR-EX" "BFW" )
)

Good luck.