Select Connected Faces

Hi there!

I'm using SW 2009 SP3. Have anyone found a way to use the "Select Connected Faces" function through the API ?

I want to get a hold of all planes that are coplanar to a selected plane and SW allows you to do just that interactively with a pop-menu (see "Select Connected Faces" in SW Help for details). I know there's the harsh way of going through all faces to check with surface geometry parameters weather they are coplanar to the selected plane or not. But since SW does it on its own...

So, is it a specific method hidden somewhere ? Or is there a command ID from the swCommands_e enumeration (swcommands namespace) that replicates the function ? Or the function is simply not supported by the API... which would be sad ?

Thanks!

Antoine

SolidworksApi macros