endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
else
!num = !this.nodenumber
endif
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
!lines.append(|$!this.bendtype|)
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
else
!num = !this.nodenumber
endif
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
!lines.append(|$!this.bendtype|)
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
!lines.append(|$!this.bendtype|)
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
else
!num = !this.nodenumber
endif
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
!lines.append(|1|)
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
!num = -1
else
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
else
if !this.rigid.eq('START') then
endif
!lines.append(|$!this.componentType|)
if !this.weight.unset() then
endif
!lines.append(|$!this.weight|)
endif
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
endif
enddo
if !a.componentType.eq('BRAN').and(!a.point.eq(1)) then
endif
!lines.appendarray(!a.makenodelines())
define method .makenodelines()is ARRAY
!lines = ARRAY()
if !this.componentType.eq('BRAN') and !this.point.eq(1) then
endif
!lines.append(||)
if !this.nodenumber.unset() then
else
!num = !this.nodenumber
endif
!lines.append(|$!num|)
!lines.append(|$!this.point|)
if !this.rigid.eq('END') then
!lines.append(|2|)
!lines.append(|RIGID|)
if !this.rigidweight.unset() then
endif
!lines.append(|$!this.rigidweight|)
else
!lines.append(|$!this.component|)
!lines.append(|$!this.outsideDiameter|)
!lines.append(|$!this.wallThickness|)
!lines.append(|$!this.corrosionAllowance|)
if !this.AlphaAngle.set() then
endif
!lines.append(|$!this.insulationthickness|)
!lines.append(|$!this.position.east $!this.position.north $!this.position.up|)
!lines.append(|$!this.bendradius|)
if !this.componentType inset('ELBO','BEND') then
endif
!lines.append(|$!this.sif|)
if !this.restlines.size().gt(0) then
endif
!lines.append(||)
return !lines
if !a.componentType.eq('BRAN').and(!a.point.eq(2)) then
!lines.append(||)
endif
enddo
!this.lines = !lines
!this.endreport()
define method .endreport()
!lines = !this.lines
!lines.append(||)
!lines.append(||)
!this.lines = !lines
endmethod
endmethod
!stressGroup = !this.currentGroup.stressgroupname.after('/')
!fileName = '$!psidir' & '\' & 'output' & '\' & !stressGroup & '.xml'
!outputFileName = object FILE('$!fileName')
!this.currentGroup.writedata(!outputFileName)
define method .writeData(!file is FILE)
!file.writefile('Write',!this.lines)
handle ANY
handle ANY
!!alert.error('Write Aborted')
endhandle
endmethod
!formDirName = object FILE(!!pml.getPathName('psisystem.pmlfrm'))
!formLoc = !formDirName.directory()
!coreLoc = '$!formLoc' + '\..\..\..\core'
syscom '$!coreLoc\convert_to_cii.bat $!psiDir $!stressGroup $!coreLoc'
endmethod
$r