SPECIFICATIONS
該類主要用于擷取MDB下的各種等級,比如管道等級、保溫等級、伴熱等級等。
!spec = object SPECIFICATIONS()
// Descriptions
//擷取管道等級
if (!spec.Piping())then
!pipingSpecList = !spec.Descriptions
endif
//擷取保溫等級
if (!spec.Insulation())then
!insuSpecList = !spec.Descriptions
endif
//擷取伴熱等級
if (!spec.Tracing())then
!tracSpecList = !spec.Descriptions
endif
PIPEBRANCH
該類主要用于PIPE和branch的一些操作。
!pb = object PIPEBRANCH(!!ce) //目前對象類型為pipe / bran / bran member 均可
!array = !pb.DetailDescription('tail')
<ARRAY>
[1] <STRING> 'Bore: 50mm'
[2] <STRING> 'Connection Type: BWD'
[3] <STRING> 'Unconnected'
[4] <STRING> 'Direction: S'
[5] <STRING> 'Position: E 60.00'
[6] <STRING> ' S 380.00'
[7] <STRING> ' U 0.00'