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'