Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi All,
I am implementing Creo API for finding Shells from given solid.I have written following code.
ProSldsurfaceShellorder *shell_order;
ProSldsurfaceShellface *shell_faces;
/*---------------------------------------------------------------------*\
List the shell members of this solid
\*---------------------------------------------------------------------*/
ProSldsurfaceShellsAndVoidsFind(*mProSolid,&shell_order,&shell_faces);
It works fine for me. It gives correct result,but only problem is that I cant get how many number of shells are found.
Means I could not get length of array shell_order. shell_order contains information for each shell.
So is ther any way to find out length of this array shell_order.
thanks in adavance.
Try out the following: