HVAC
Administrator Guide
User Defined Components
:
Tutorial Style Exercise
: Macros to Copy an Existing Component
Macros to Copy an Existing Component
Write some simple macros to copy the existing component.
Examples:
copyMac1
/My-udHVACcata
tail
new sect $1-SECT copy $2-SECT rename $2 $1
$.
copyMac2
$d2=
/My-ud
HVAC
cata-DETCATE
tail
new sdte $1 copy $2-DETAIL
rtext |$2|
$.
myUDCata
-- Macro to make My catalogue from copy of existing similar standard
$m/c:/MY-Macros/copyMac1 /My-Y-Type-3-Way1 /RSTHRE
$m/c:/MY-Macros/copyMac2 /My-Y-Type-3-Way1-Detail /RSTHRE
$m/c:/MY-Macros/copyMac1 /My-Y-Type-3-Way2 /RSTHRE
$m/c:/MY-Macros/copyMac2 /My-Y-Type-3-Way2-Detail /RSTHRE
$m/c:/MY-Macros/copyMac1 /My-Y-Type-3-Way3 /RSTHRE
$m/c:/MY-Macros/copyMac2 /My-Y-Type-3-Way3-Detail /RSTHRE
$m/c:/MY-Macros/copyMac1 /My-Angled-Type-3-Way1 /RSTHRE
$m/c:/MY-Macros/copyMac2 /My-Angled-Type-3-Way1-Detail /RSTHRE
$m/c:/MY-Macros/copyMac1 /My-Angled-Type-3-Way2 /RSTHRE
$m/c:/MY-Macros/copyMac2 /My-Angled-Type-3-Way2-Detail /RSTHRE
$m/c:/MY-Macros/copyMac1 /My-Angled-Type-3-Way3 /RSTHRE
$m/c:/MY-Macros/copyMac2 /My-Angled-Type-3-Way3-Detail /RSTHRE
copyMac3
$1-GMSE
new DTSE $1-DTSE copy /RSTHRE -DETAIL-DATA rename /RSTHRE $1
NEX SCOM
DTREF $1-DTSE
myUDCataDtse
-- Macro to make My datasets from copy of existing similar standard
$m/c:/MY-Macros/copyMac3 /My-Y-Type-3-Way1 /RSTHRE
$m/c:/MY-Macros/copyMac3 /My-Y-Type-3-Way2 /RSTHRE
$m/c:/MY-Macros/copyMac3 /My-Y-Type-3-Way3 /RSTHRE
$m/c:/MY-Macros/copyMac3 /My-Angled-Type-3-Way1 /RSTHRE
$m/c:/MY-Macros/copyMac3 /My-Angled-Type-3-Way2 /RSTHRE
$m/c:/MY-Macros/copyMac3 /My-Angled-Type-3-Way3 /RSTHRE
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.