Hello Friends,
To maintain actual pipe spacing between two pipes with clamped support in our project std we hvae to take flange OD on pipe rack. but on rack few lines have flange connection others not having flanged connection. but to maintain we have to take flange od without modelling flange or refering pipe data i like to refer flange od from pipe spec and pipe size and pspec ratting. i took the report but not able to take exact flange od for both lines. flange OD to be consider listed below conditions
1. pipe spec
2. rating same as pipe
3. size same as previous component
i wrote few lines please help me to complete it
VAR !A COLL ALL SPCO WITH SPRA PBORE EQ 250 AND (matchw(Stype, '*Flange*') EQ T) AND (matchw(Stype, '*Blind*') EQ F) FOR /A1A
ALPHA REQ CLEAR
DO !B FROM 1 TO !A.SIZE()
$!A[$!B]
Q DTXR param[7] REF
ENDDO