PDA

View Full Version : Instrument flow arrows



dave
05-10-2006, 06:14 PM
Here's how to stop em from being placed in a P&ID

1. Open the pid-sup.lsp file using notepad.
2. Search for INSTARW
3. Modify the section to read as follows by adding the NIL value:

(defun initvar (imp)
;; The variable "instarw" controls whether an arrow with symbol
;; name inst-ar will be inserted at the destination end of an instrument
;; line such as pneumatic or electric to indicate source and destination. If
;; you do not want such arrows comment out the appropriate line with a ;
;; The number indicates the scale factor of the symbol.
;;
;; The variable "failsym" controls whether an control valve failure mode
;; symbol is used on the operator stem to indicate failure mode of the valve
(if imp
(progn
(setq instarw nil) ;Instrument arrow size
; (setq failsym T) ;Failure symbol on CV stem
)
(progn
(setq instarw nil) ;Instrument arrow size
(setq failsym T) ;Failure symbol on CV stem
)
)
)
4. Save and Exit

BearLeader67
02-28-2008, 05:18 AM
Why do you add NIL instead of commenting out the entire row?

BearLeader67
02-28-2008, 08:39 AM
Well I added nil and it didn't work so I commented out the row and it didn't work in the XM edition of AutoPLANT P&ID.

Shihan Jedi
01-05-2011, 09:16 AM
this worked on my version of XM P&ID...

I too want to remove the flow arrows from the instrument lines and tried the code above.

:)