Closed candcconsulting closed 1 year ago
Resolved by only request massProperties for the correct unitType let operation = 2; switch (unitType) { case "length" : {operation = 0; break} case "area" : {operation = 1; break} case "volume" : {operation = 2; break}
}
Attempt to handle length did not work Alignment element is returned but when this is linked to the 3D geometry, the massProperties are retured as invalid and no length is returned. It could be that we need to check the unitType and submit only that to the getMassProperties