public static ISwTempBody ToTempBody(this ISwBody body) => SwObject.FromDispatch <SwTempBody>(body.Body.ICopy());
public static double GetVolume(this ISwBody body) { var massPrps = body.Body.GetMassProperties(0) as double[]; return(massPrps[3]); }