public static bool IsSheetBody(this IFace2 face) { return((face.GetBody() as Body2).GetType() == (int)swBodyType_e.swSheetBody); }