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