Modify Pipe Creation Forms

By about Aveva PDMS Software | PDMS Tutorial | PDMS Training | 09/05/16

Kita dapat merubah pipe creation forms, seperti contoh halnya memberi info format nama sehingga mengurangi kesalahan penulisan nama.

Goto Sitemap to read all Article from PDMSid
Modify Pipe Creation Forms

Modify Pipe Creation Form

Buka file FPIPE yang berada di %pdmsui%\des\pipe, lalu ubah sperti yang diinginkan. Kita dapat mengetahui lokasi folder dari %pdmsui% dengan cara mengetikkan perintah Q EVAR PDMSUI

Contoh perubahan pipe creation forms :

$(H
————————————————————————
(c) Copyright 1992 to Current Year AVEVA Solutions Limited

Macro: fpipe
Author: NEALE MORRIS

Macro Generic Type: Form Definitions

————————————————————————
$)
$(D
FORM TO CREATE A PIPE
$)

kill _CDPIPE

setup form _CDPIPE

title |Create Pipe|
init |CALLP IPIPE FPIPE|

$* Pipe Name
text _NAME at 0 0 |Name | call |CALLIB NAMECHK $<_CDPIPE_NAME$> $$<$$_CDSYSNAM_CASE$$> $$<$$_CDSYSNAM_NAME$$> $$<$$_CDSYSNAM_NACT$$>| width 20 name
path down
vdist 0.1
para _FORMAT text |Name format XXX-XXXX-XXXX-XX|
path down
vdist 0.1
para _OWNERTAG text |wrt |
path right
hdist 1
para _OWNER width 20 lines 1

$* Specifications
button _SPECTAG |Specifications…| at xmin_name ymax_owner+0.5 form _CDPSPEC
vdist 0.1
path down
para _PSPETAG text |Piping |
path right
para _PSPE width 20 lines 1
para _ISPETAG at xmin_name ymax+0.1 text |Insulation |
para _ISPE width 20 lines 1
para _TSPETAG at xmin_name ymax+0.1 text |Tracing |
para _TSPE width 20 lines 1
halign right
path down
vdist 2.5

$* Cancel
button _CANCEL | Cancel | call |$$_USERDATA
DELETE PIPE| cancel

$* Attribute
button _ATTR at xmin_name ymax_tspe+0.5 |Attributes…| form _CDPIPEATT

$* OK
button _OK | OK | at xmin_name ymin_cancel call |CALLP MPIPE| ok

exit

$.

———————————-

Dengan mengetikkan command show _CDPIPE dapat juga menampilkan pipe creation form.

 

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *