<P>&nbsp;I used <STRONG>vtkLSdynaReader</STRONG> to read a ls-dyna d3plot file which just contain a solid object, but program crashed when run to:&nbsp;</P>
<P>&nbsp;</P>
<P>cout&lt;&lt;"number of Solid cell:"&lt;&lt;&nbsp; rdr-&gt;OutputSolid-&gt;GetNumberOfCells()&lt;&lt;endl;</P>
<P>&nbsp;</P>
<P>In fact, all variables Output*****&nbsp; are defined as <STRONG>vtkUnstructuredGrid</STRONG>*,&nbsp;</P>
<P>I checked the variable "<STRONG>OutputSolid</STRONG>" using function "<STRONG>getNameclass</STRONG>", and find&nbsp;it is not&nbsp;&nbsp;"<STRONG>vtkUnstructuredGrid</STRONG>" type after program running.So I have no idea how to extract data from "<STRONG>OutputSolid"</STRONG>.</P>
<P>Could you do me a favor that how to extract all datas&nbsp;from "<STRONG>OutputSolid</STRONG>"?</P>
<P>By the way, all variables are changed from "protected" to "public" for debugging.</P>
<P>Thanks very much!</P>
<P>&nbsp;</P>
<P>Following are my code:</P>
<P>vtkLSDynaReader* rdr = vtkLSDynaReader::New();<BR>&nbsp;rdr-&gt;SetDatabaseDirectory( "C:\\Users\\sample" );</P>
<P>&nbsp;rdr-&gt;Update();</P>
<P><BR>&nbsp;cout&lt;&lt;"number of Particles cell:"&lt;&lt;&nbsp; rdr-&gt;OutputParticles-&gt;GetNumberOfCells()&lt;&lt;endl;<BR>&nbsp;cout&lt;&lt;"number of Beam cell:"&lt;&lt;&nbsp; rdr-&gt;OutputBeams-&gt;GetNumberOfCells()&lt;&lt;endl;<BR>&nbsp;cout&lt;&lt;"number of RigidBody cell:"&lt;&lt;&nbsp; rdr-&gt;OutputRigidBody-&gt;GetNumberOfCells()&lt;&lt;endl;<BR>&nbsp;cout&lt;&lt;"number of RoadSurface cell:"&lt;&lt;&nbsp; rdr-&gt;OutputRoadSurface-&gt;GetNumberOfCells()&lt;&lt;endl;</P>
<P>&nbsp;cout&lt;&lt;"number of Shell cell:"&lt;&lt;&nbsp; rdr-&gt;OutputShell-&gt;GetNumberOfCells()&lt;&lt;endl;<BR>&nbsp;cout&lt;&lt;"number of Solid cell:"&lt;&lt;&nbsp; rdr-&gt;OutputSolid-&gt;GetNumberOfCells()&lt;&lt;endl;<BR>&nbsp;cout&lt;&lt;"number of ThickShell cell:"&lt;&lt;&nbsp; rdr-&gt;OutputThickShell-&gt;GetNumberOfCells()&lt;&lt;endl;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>kevin</P>
<P>&nbsp;</P>
<P>&nbsp;</P>