<div>Hello,&nbsp; I'm trying to get a list of all polygons for my&nbsp;imported obj file.&nbsp; Here is a little code fragment of how i'm trying to do it.</div>
<div>&nbsp;</div>
<div>vtkPolyData polyData<br>&nbsp;&nbsp;&nbsp;&nbsp; polyData SetPolys [[obj GetOutput] GetPolys]<br>&nbsp;&nbsp;&nbsp;&nbsp; puts &quot;Poly1: [[polyData GetPolys] GetCell 0]&quot;</div>
<div>&nbsp;</div>
<div>I'm getting an error saying that GetCell is not being given the correct parameters and i'll probably agree with it!&nbsp; I think what i need to do is access each Cell in the cell array.</div>
<div>&nbsp;</div>
<div>Any help would be much appreciated.</div>
<div>&nbsp;</div>
<div>If you need any extra information please don't hesitate to ask.</div>
<div>&nbsp;</div>
<div>Thanks you for your time.</div>