From 109abecb9758fda7a6add1c299e6179485c1db06 Mon Sep 17 00:00:00 2001 From: William Petit Date: Mon, 25 Jan 2021 15:33:23 +0100 Subject: [PATCH] Add 'material' attribute to pipe networks --- lib/pipe-network.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pipe-network.js b/lib/pipe-network.js index 6c88e42..e19eafe 100644 --- a/lib/pipe-network.js +++ b/lib/pipe-network.js @@ -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];