<div>Hello,</div>
<div> </div>
<div>I am having a difficulty of retrieving a pedigree array from a filter&#39;s output.</div>
<div> </div>
<div><font face="courier new,monospace">  m_tableToPolyData-&gt;GetOutput()-&gt;GetAttributes(vtkDataObject::POINT)-&gt;SetPedigreeIds(<br>      m_tableToPolyData-&gt;GetOutput()-&gt;GetPointData()-&gt;GetAbstractArray(0));<br>

  vtkSmartPointer&lt;vtkClipPolyData&gt; anotherFilter = vtkSmartPointer&lt;vtkClipPolyData&gt;::New();<br>  anotherFilter-&gt;SetInputConnection(m_tableToPolyData-&gt;GetOutputPort());<br>  anotherFilter-&gt;Update();</font></div>


<div><font face="courier new,monospace"> <br>  vtkAbstractArray* <font color="#009900">origPedigreeIds</font> = m_tableToPolyData-&gt;GetOutput()-&gt;GetAttributes(vtkDataObject::POINT)-&gt;GetPedigreeIds();</font></div>


<div><font face="courier new,monospace">  <font color="#009900">//origPedigreeIds comes back correctly.<br></font>  vtkAbstractArray* <font color="#ff0000">pedigreeIds</font> = anotherFilter-&gt;GetOutput()-&gt;GetAttributes(vtkDataObject::POINT)-&gt;GetPedigreeIds();</font></div>


<div><font color="#ff0000" face="courier new,monospace">  //pedigreeIds comes back as NULL</font></div>
<div> </div>
<div>Any help is greatly appreciated,</div>
<div>Jenya<br></div>