Add 'material' attribute to pipe networks
This commit is contained in:
parent
32d3e575b2
commit
109abecb97
@ -80,6 +80,7 @@ function convertPipes(pipeNetwork, structs, projection, baseProps, opts) {
|
|||||||
const attrs = circPipeNode.$;
|
const attrs = circPipeNode.$;
|
||||||
if ('diameter' in attrs) featureProps.landxmlDiameter = parseFloat(attrs.diameter);
|
if ('diameter' in attrs) featureProps.landxmlDiameter = parseFloat(attrs.diameter);
|
||||||
if ('thickness' in attrs) featureProps.landxmlThickness = parseFloat(attrs.thickness);
|
if ('thickness' in attrs) featureProps.landxmlThickness = parseFloat(attrs.thickness);
|
||||||
|
if ('material' in attrs) featureProps.landxmlMaterial = attrs.material;
|
||||||
}
|
}
|
||||||
|
|
||||||
const refStart = structs[p.$.refStart];
|
const refStart = structs[p.$.refStart];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user