Hi All,
I want delete connected all supports of pipe in one go.
I am creating macro were i want to collect the branch member of those having some value for attribute SupRfArray.
but when I am giving criteria it's not working. but without criteria its giving results but not expected.
Macro: without Criteria
!A=!!COLLECTALLFOR(|BRAN MEMB|,||,CE)
DO !B VALUES !A
$!B
Q VAR!B.SupRfArray
ENDDO
Macro: With Criteria
!A=!!COLLECTALLFOR(|BRAN MEMB|,|MATCHW(SupRfArray NE 'unset'|,CE)
DO !B VALUES !A
$!B
Q VAR!B.SupRfArray
ENDDO
Result with criteria giving Invalid selection.
Result without Criteria
<ARRAY> - Unset and Empty
<ARRAY> - Unset and Empty
<ARRAY>
[1] <DBREF> =20391/349407
(2,201) Element ELBOW 2 of BRANCH /Copy-of-117B-12"-P-117-1605-A19A-IH/B1 does not have attribute SUPRFA
<ARRAY> - Unset and Empty
<ARRAY> - Unset and Empty
<ARRAY>
[1] <DBREF> =20391/349450
(2,201) Element OLET 1 of BRANCH /Copy-of-117B-12"-P-117-1605-A19A-IH/B1 does not have attribute SUPRFA
<ARRAY> - Unset and Empty
(2,201) Element OLET 2 of BRANCH /Copy-of-117B-12"-P-117-1605-A19A-IH/B1 does not have attribute SUPRFA
<ARRAY> - Unset and Empty
(2,201) Element ELBOW 4 of BRANCH /Copy-of-117B-12"-P-117-1605-A19A-IH/B1 does not have attribute SUPRFA
<ARRAY> - Unset and Empty
(2,201) Element GASKET 1 of BRANCH /Copy-of-117B-12"-P-117-1605-A19A-IH/B1 does not have attribute SUPRFA
Can anyone help.
I am new to pml