Modify Pipe Creation Forms

By about Aveva PDMS Software | PDMS Tutorial | PDMS Training | Monday May 9th, 2016

We can modify pipe creation forms, for example like give naming format info in form to reduce wrong typing the name.

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

Modify Pipe Creation Form

Open file name FPIPE in %pdmsui%\des\pipe, modify the file as you want. And you can know the path location of %pdmsui% with type command Q EVAR PDMSUI

Example modify 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

$.

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

With show _CDPIPE can display the pipe creation form also.

Leave a Reply

Your email address will not be published. Required fields are marked *