# Error while attempting to extract Network Properties

**URL:** <https://discourse.slicer.org/t/error-while-attempting-to-extract-network-properties/37755>\
**Category:** Development\
**Tags:** python, vmtk\
**Created:** [August 7, 2024, 5:52pm UTC](https://discourse.slicer.org/t/error-while-attempting-to-extract-network-properties/37755 "2024-08-07T17:52:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![THartman](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@THartman](https://discourse.slicer.org/u/THartman)\
**Post date:** [August 7, 2024, 5:52pm UTC](https://discourse.slicer.org/t/error-while-attempting-to-extract-network-properties/37755/1 "2024-08-07T17:52:37Z")

</div>

I’m working on batch processing several vessel networks to extract the network properties tables, but I am getting the following error on all of the vessels in my dataset. Does anyone have any information on what exactly this means? Here’s the error I’m getting:

[VTK] Error: can’t reconstruct new profile.

And here are the two lines of code that seem to be causing the error:

networkPropertiesTableNode = slicer.mrmlScene.AddNewNodeByClass(“vtkMRMLTableNode”, “Network\_Table\_Label\_” + str(i + 1))  
extractLogic.addNetworkProperties(inputSurfacePolyData, networkPropertiesTableNode)

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [August 8, 2024, 6:08am UTC](https://discourse.slicer.org/t/error-while-attempting-to-extract-network-properties/37755/2 "2024-08-08T06:08:20Z")

</div>

> [@THartman](#):
>
> extractLogic.addNetworkProperties(inputSurfacePolyData, networkPropertiesTableNode)

Is ‘inputSurfacePolyData’ the result of ‘extractLogic.extractNetwork()’?

---

<div class="post-metadata">

**Author:** ![THartman](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@THartman](https://discourse.slicer.org/u/THartman)\
**Post date:** [August 8, 2024, 10:15am UTC](https://discourse.slicer.org/t/error-while-attempting-to-extract-network-properties/37755/3 "2024-08-08T10:15:25Z")

</div>

It is! I tried making it the segmentation instead and that yielded the same results.
