Add 'material' attribute to pipe networks

This commit is contained in:
wpetit 2021-01-25 15:33:23 +01:00
parent 32d3e575b2
commit 109abecb97
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ function convertPipes(pipeNetwork, structs, projection, baseProps, opts) {
const attrs = circPipeNode.$;
if ('diameter' in attrs) featureProps.landxmlDiameter = parseFloat(attrs.diameter);
if ('thickness' in attrs) featureProps.landxmlThickness = parseFloat(attrs.thickness);
if ('material' in attrs) featureProps.landxmlMaterial = attrs.material;
}
const refStart = structs[p.$.refStart];