I've use the slice method in VBA - the issue for me was it was a bit slow and did not handle compound angles.
The nice thing in .net is you don't need to add the resulting entities from slice, explode, ... to the database so it
will be quicker. If you're using 09 I would examine brep - Autodesk did a webcast recently you might want to
check it out.
wrote in message news:5985920@discussion.autodesk.com...
I've have explored this issue with VBA (see http://www.theswamp.org/index.php?topic=21524.0).
The general methodology of the routine is to WCS orient a copy of the 3DSolid via PrincipalDirection and cross section analysis.
The analysis also includes some rudimentary cross section recognition - if a library of parts is pre-processed.
As mentioned by Mr. Richardson, the new 2009 .NET capabilities will no doubt make this analysis and manipulation more robust. I
will likely explore that same venue myself in the coming months.
I was, however, pleased with the general performance of the VBA example as posted at The Swamp.