AnsweredAssumed Answered

How do I select the opposite face on a sheet metal part via SolidWorks API?

Question asked by Steven Barry on Nov 17, 2015
Latest reply on Nov 19, 2015 by Matthew Cempa

What is the most straightforward way to select the opposite face on a sheet metal part, given a pre-selected face normal to the material thickness using SolidWorks API?


My best idea so far is to cycle through the faces using the GetNextFace method of the selected Face2 object, check that the face is planar, then use the IMeasure interface to compare the distance to the material thickness.  This seems a bit tedious and possibly unreliable though, especially for parts with more complex geometry. 


Can anyone think of a better way to do this?